From: Henrik Nordstrom Date: Mon, 31 Mar 2008 23:30:27 +0000 (+0200) Subject: Bug #420: Deal properly with empty list elements X-Git-Tag: BASIC_TPROXY4~4^2~10^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cf4d190a2bb762c5aa007b831ecf49ba12cc2904;p=thirdparty%2Fsquid.git Bug #420: Deal properly with empty list elements yet another fix to previous commits, this time fixing how to deal with quoted elements. --- diff --git a/src/HttpHeaderTools.cc b/src/HttpHeaderTools.cc index 41ce0fc644..aa5e5fa3b0 100644 --- a/src/HttpHeaderTools.cc +++ b/src/HttpHeaderTools.cc @@ -249,7 +249,7 @@ strListGetItem(const String * str, char del, const char **item, int *ilen, const static char delim[3][8] = { "\"?,", "\"\\", - "\"?, \t\r\n" + " ?,\t\r\n" }; int quoted = 0; assert(str && item && pos);