A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/python/cpython/commit/634da2de88af06eb8c6ebdb90d8c00005847063d below:

[3.8] bpo-43882 - Mention urllib.parse changes in Whats new section. … · python/cpython@634da2d · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+12

-0

lines changed

Filter options

Expand file treeCollapse 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.

2294 2294

with fixes by FX Coudert and Eli Rykoff, and backported to 3.8 by Maxime Bélanger

2295 2295

and Ned Deily)

2296 2296 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`)

2297 2309

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4