don't use non-ascii chars.
authorWilfried Goesgens <dothebart@citadel.org>
Sun, 7 Dec 2014 15:04:06 +0000 (16:04 +0100)
committerWilfried Goesgens <dothebart@citadel.org>
Sun, 7 Dec 2014 15:04:06 +0000 (16:04 +0100)
webcit/context_loop.c

index 2a6fe162dd72331f10b86e0affc86884be104caa..6511572dbbf06b4e083846499c4bfec2f4652a0b 100644 (file)
@@ -425,7 +425,7 @@ int ReadHTTPRequest (ParsedHttpHdrs *Hdr)
                        continue;
                }
 
-               StrBufSanitizeAscii(Line, 'ยง');
+               StrBufSanitizeAscii(Line, (char)0xa7);
                StrBufExtract_token(HeaderName, Line, 0, ':');
 
                pchs = ChrPtr(Line);