|
|
|
|
|
by Retr0id
870 days ago
|
|
> AIOHTTP: The Python int constructor is used to parse Content-Lengths and chunk-sizes, so _, +, and - are misinterpreted. Fun. I believe the fix is incomplete here[1]. Python's int() constructor (and related methods) accepts integers comprised of any unicode numeral, for example, int("٦٦٦") == 666, and "٦٦٦".isdecimal() == True. NB: I haven't tested this more thoroughly and I'm not sure I'm actually looking at the right diff for the fix. [1] https://github.com/aio-libs/aiohttp/pull/7663/files#diff-197... |
|