# HG changeset patch # User Olaf Wintermann # Date 1477766026 -7200 # Node ID 9c639e4941cfa469e363887c6429ea8e30201ce3 # Parent 6467dbb3e8871971922f2cbb0661a86098793cdb fixes CGI response headers diff -r 6467dbb3e887 -r 9c639e4941cf src/server/safs/cgi.c --- 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) {