ref: 0bd715dabb37c85b6cabace0a72ce18b50f12cf3
parent: 546bdc35ee50201c0180574dee029b9ca1e5e704
author: Stanley Lieber <sl@stanleylieber.com>
date: Thu Aug 10 17:43:54 EDT 2017
bin/contrib/rc-httpd/handlers/dir-index: use urlencode(1), not urlencode.awk (for now?)
--- 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){
--
⑨