changeset: 57:fb670f8e559c
tag: tip
user: arg_AT_suckless.org
date: Wed Feb 07 13:39:17 2007 +0100
files: show.rc
description:
if PATH_INFO is '/' it was undefined in last version, now this is fixed
diff -r 203df845d560 -r fb670f8e559c show.rc
--- a/show.rc Wed Feb 07 12:14:36 2007 +0100
+++ b/show.rc Wed Feb 07 13:39:17 2007 +0100
@@ -30,7 +30,7 @@ if(test $PATH_INFO && echo $PATH_INFO |
echo
exit 0
}
-if(! test $PATH_INFO)
+if(! test $PATH_INFO || ~ $PATH_INFO '/')
PATH_INFO=''
if not
PATH_INFO=`{cleanname $PATH_INFO | sed 's,^/,,'}
Received on Wed Feb 07 2007 - 13:40:02 UTC
This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:54:57 UTC