Message394243
Since Python 3.9.5, `urllib.parse.urljoin` now strips newlines from the destination URL.
I think this should be at least mentioned in the `/Misc/NEWS.d`.
Python 3.8.10:
>>> urllib.parse.urljoin('http://a.ru', '\nsome/location')
'http://a.ru/\nsome/location'
Python 3.9.5:
>>> urllib.parse.urljoin('http://a.ru', '\nsome/location')
'http://a.ru/some/location'
We had an extra check for newlines in our Python codebase and our test started to fail. |
|
Date |
User |
Action |
Args |
2021-05-24 10:05:10 | rushter | set | recipients:
+ rushter |
2021-05-24 10:05:10 | rushter | set | messageid: <1621850710.44.0.0440015163726.issue44224@roundup.psfhosted.org> |
2021-05-24 10:05:10 | rushter | link | issue44224 messages |
2021-05-24 10:05:10 | rushter | create | |
|