File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -2294,4 +2294,16 @@ for and build on the oldest version in the range.
22942294with fixes by FX Coudert and Eli Rykoff, and backported to 3.8 by Maxime Bélanger
22952295and Ned Deily)
22962296
2297+ Notable changes in Python 3.8.10
2298+ ================================
2299+
2300+ urllib.parse
2301+ ------------
2302+
2303+ The presence of newline or tab characters in parts of a URL allows for some
2304+ forms of attacks. Following the WHATWG specification that updates :rfc: `3986 `,
2305+ ASCII newline ``\n ``, ``\r `` and tab ``\t `` characters are stripped from the
2306+ URL by the parser in :mod: `urllib.parse ` preventing such attacks. The removal
2307+ characters are controlled by a new module level variable
2308+ ``urllib.parse._UNSAFE_URL_BYTES_TO_REMOVE ``. (See :issue: `43882 `)
22972309
You can’t perform that action at this time.
0 commit comments