Chromium Code Reviews
DescriptionSkip header lines with invalid header name
The current header parsing algorithm is too lax and results in the
creation of a header data structure with invalid headers. This patch
makes the parser more strict, by rejecting header names that are not
complying with RFC 7230 (field-name must be a token).
Enforcing this standard should be web-compatible since Firefox (47)
also follows this behavior.
BUG=620365
Committed: https://crrev.com/78f29ac0214e16bdcc6eaa17fa4a5a84882bb7a8
Cr-Commit-Position: refs/heads/master@{#402498}
Patch Set 1 #
Total comments: 5
Patch Set 2 : Split test #
Messages
Total messages: 13 (5 generated)
|
||||||||||||||||||||||||||||