rushter added the comment:
Sorry, I found the commit that mentions this
https://github.com/python/cpython/commit/0593ae84af9e0e8332644e7ed13d7fd8306c4e1a
It's not live on Python.org though.
--
stage: -> resolved
status: open -> closed
___
Python
New submission from rushter :
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'
Py