fixes CGI response headers

Sat, 29 Oct 2016 20:33:46 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Sat, 29 Oct 2016 20:33:46 +0200
changeset 123
9c639e4941cf
parent 122
6467dbb3e887
child 124
85985e88f63b

fixes CGI response headers

src/server/safs/cgi.c file | annotate | diff | comparison | revisions
--- a/src/server/safs/cgi.c	Sat Oct 29 20:22:32 2016 +0200
+++ b/src/server/safs/cgi.c	Sat Oct 29 20:33:46 2016 +0200
@@ -223,7 +223,7 @@
             }
             value = sstrn(buf + value_begin, i - value_begin);
             
-            name = sstrtrim(name);
+            name = sstrlower(sstrtrim(name));
             value = sstrtrim(value);
             
             if(name.length == 0 || value.length == 0) {

mercurial