]> git.ipfire.org Git - thirdparty/squid.git/commit
Fix ::Parser::Tokenizer::prefix() limited token results
authorAmos Jeffries <squid3@treenet.co.nz>
Fri, 23 Jan 2015 10:11:15 +0000 (02:11 -0800)
committerAmos Jeffries <squid3@treenet.co.nz>
Fri, 23 Jan 2015 10:11:15 +0000 (02:11 -0800)
commit38c45a4efaafe25b4346fdfa61d0e85c3e9c00a0
tree33a958f06a745082fd0547b99758c141b5c5970a
parent081be7ebf85eae6a1c0f1d44a878096d2c5d6cd8
Fix ::Parser::Tokenizer::prefix() limited token results

When he prefix() method is passed a set limit for characters to scan and
the matched characters do reach that limit the entire Tokenizer buffer
content is consumed and returned.

Correct operation is to only consume and return the matched characters.
src/parser/Tokenizer.cc