[issue33973] HTTP request-line parsing splits on Unicode whitespace

2020-01-25 Thread Cheryl Sabella
Change by Cheryl Sabella : -- versions: +Python 3.9 -Python 3.4, Python 3.5, Python 3.6 ___ Python tracker ___ ___ Python-bugs-list

[issue33973] HTTP request-line parsing splits on Unicode whitespace

2018-06-26 Thread STINNER Victor
STINNER Victor added the comment: isspace() is also true for another non-ASCII character: U+0085 (b'\x85'). >>> ''.join(chr(i) for i in range(256) if chr(i).isspace()) '\t\n\x0b\x0c\r\x1c\x1d\x1e\x1f \x85\xa0' -- ___ Python tracker

[issue33973] HTTP request-line parsing splits on Unicode whitespace

2018-06-26 Thread Tim Burke
Change by Tim Burke : -- keywords: +patch pull_requests: +7539 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list m

[issue33973] HTTP request-line parsing splits on Unicode whitespace

2018-06-26 Thread Tim Burke
New submission from Tim Burke : This causes (admittedly, buggy) clients that would work with a Python 2 server to stop working when the server upgrades to Python 3. To demonstrate, run `python2.7 -m SimpleHTTPServer 8027` in one terminal and `curl -v http://127.0.0.1:8027/你好` in another -- cur