diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-03-14 01:02:43 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-03-14 01:02:43 +0100 |
commit | 8ef66ca21218af00181bf78f37a5ede0238a7fa1 (patch) | |
tree | 3f5dff0cd69f235340a6339fa86a7e9b54230835 /rc/bin/rc-httpd/handlers/cgi | |
parent | 060e69b15aae22ca9fcf9d9e7970bd2d611544f3 (diff) | |
download | plan9front-8ef66ca21218af00181bf78f37a5ede0238a7fa1.tar.xz |
rc-httpd: support for http basic authentication, fix cgi support to work with hgweb.cgi
Diffstat (limited to 'rc/bin/rc-httpd/handlers/cgi')
-rwxr-xr-x | rc/bin/rc-httpd/handlers/cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rc/bin/rc-httpd/handlers/cgi b/rc/bin/rc-httpd/handlers/cgi index 96707630c..574cd13c3 100755 --- a/rc/bin/rc-httpd/handlers/cgi +++ b/rc/bin/rc-httpd/handlers/cgi @@ -4,7 +4,7 @@ fn filter_headers{ lines='' done=false while(~ $done false){ - line=`{read} + line=`{getline} head=`{echo $line | awk '{print tolower($1)}'} if(~ $head status:*){ tmp=`{echo $line | awk '{$1="" ; print}'} |