We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b46d0d commit 6a728c9Copy full SHA for 6a728c9
lib/uri.sh
@@ -1,6 +1,6 @@
1
URI=${PATH_INFO#/}
2
3
-if [[ -n $URI ]]
+if [[ $URI ]]
4
then
5
# basename; the last part (slash delimiter) of URI
6
URI_LAST=$(basename ${URI})
0 commit comments