rootvector2 opened a new pull request, #750: URL: https://github.com/apache/httpcomponents-core/pull/750
`Long#parseLong` accepts any Unicode digit (and fullwidth `A`-`F` in radix 16), so with a UTF-8 `CharsetDecoder` `MessageSupport#getContentLength`, `ChunkedInputStream#getChunkSize` and `ChunkDecoder#readChunkHead` read `Content-Length: ١٠` as 10, a framing value RFC 9112 forbids and intermediaries reject, so reject non-ASCII values next to the `isSignedOrEmpty` check from #729 (found by reviewing the #729 parse sites, reproduced over a socket, regression tests added). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
