Skip to content

Commit 6a728c9

Browse files
authored
Update uri.sh
1 parent 3b46d0d commit 6a728c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/uri.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
URI=${PATH_INFO#/}
22

3-
if [[ -n $URI ]]
3+
if [[ $URI ]]
44
then
55
# basename; the last part (slash delimiter) of URI
66
URI_LAST=$(basename ${URI})

0 commit comments

Comments
 (0)