]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug #420: Deal properly with null elements
authorHenrik Nordstrom <henrik@henriknordstrom.net>
Mon, 31 Mar 2008 23:22:08 +0000 (01:22 +0200)
committerHenrik Nordstrom <henrik@henriknordstrom.net>
Mon, 31 Mar 2008 23:22:08 +0000 (01:22 +0200)
Bugfix to previous commit. HTTP headers may be folded.

src/HttpHeaderTools.cc

index 1b4b9a4f0cf41e116398e3aeac4d12425811466a..41ce0fc644b390f07a90eea35374f49345144678 100644 (file)
@@ -249,7 +249,7 @@ strListGetItem(const String * str, char del, const char **item, int *ilen, const
     static char delim[3][8] = {
                        "\"?,",
                        "\"\\",
-                       "\"?, \t\r"
+                       "\"?, \t\r\n"
     };
     int quoted = 0;
     assert(str && item && pos);