From 0bd715dabb37c85b6cabace0a72ce18b50f12cf3 Mon Sep 17 00:00:00 2001 From: Stanley Lieber Date: Thu, 10 Aug 2017 21:43:54 -0400 Subject: [PATCH] bin/contrib/rc-httpd/handlers/dir-index: use urlencode(1), not urlencode.awk (for now?) --- 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 42cc6e0..31e5b02 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 | awk -f $libdir/urlencode.awk} +PATH_INFO=`{echo $PATH_INFO | urlencode -d} full_path=$"FS_ROOT^$"PATH_INFO full_path=$"full_path if(! test -d $full_path){