From: Amos Jeffries Date: Tue, 9 Jun 2015 14:46:15 +0000 (-0700) Subject: slash-escape is 0x5C X-Git-Tag: merge-candidate-3-v1~81^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4312ade02e2dcb63d95ce6135738351ade274f86;p=thirdparty%2Fsquid.git slash-escape is 0x5C --- diff --git a/src/http/one/Tokenizer.cc b/src/http/one/Tokenizer.cc index bfab18a7bb..7f41eb5151 100644 --- a/src/http/one/Tokenizer.cc +++ b/src/http/one/Tokenizer.cc @@ -41,7 +41,7 @@ Http::One::Tokenizer::qdText(SBuf &returnedToken, const bool http1p0) * RFC 1945 - defines qdtext: * inclusive of LWS (which includes CR and LF) * exclusive of 0x80-0xFF - * includes 0x5E ('\') as just a regular character + * includes 0x5C ('\') as just a regular character */ static const CharacterSet qdtext1p0 = CharacterSet("qdtext (HTTP/1.0)", 0x23, 0x7E) + CharacterSet("", "!") + @@ -50,7 +50,7 @@ Http::One::Tokenizer::qdText(SBuf &returnedToken, const bool http1p0) * RFC 7230 - defines qdtext: * exclusive of CR and LF * inclusive of 0x80-0xFF - * includes 0x5E ('\') but only when part of quoted-pair + * includes 0x5C ('\') but only when part of quoted-pair */ static const CharacterSet qdtext1p1 = CharacterSet("qdtext (HTTP/1.1)", 0x23, 0x5B) + CharacterSet("", "!") +