From 721ac39234b483170930dfdf9bb054a26891ff2c Mon Sep 17 00:00:00 2001 From: Stanley Lieber Date: Thu, 11 Feb 2016 16:25:11 -0500 Subject: [PATCH] bin/contrib/rc-httpd/handlers/dir-index: use urlencode.awk --- bin/contrib/rc-httpd/handlers/dir-index | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/contrib/rc-httpd/handlers/dir-index b/bin/contrib/rc-httpd/handlers/dir-index index 31e5b02..42cc6e0 100755 --- a/bin/contrib/rc-httpd/handlers/dir-index +++ b/bin/contrib/rc-httpd/handlers/dir-index @@ -1,5 +1,5 @@ #!/bin/rc -PATH_INFO=`{echo $PATH_INFO | urlencode -d} +PATH_INFO=`{echo $PATH_INFO | awk -f $libdir/urlencode.awk} full_path=$"FS_ROOT^$"PATH_INFO full_path=$"full_path if(! test -d $full_path){