A RetroSearch Logo

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

Search Query:

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

[3.7] bpo-43882 - Mention urllib.parse changes in Whats New section f… · python/cpython@c723d51 · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+10

-0

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+10

-0

lines changed Original file line number Diff line number Diff line change

@@ -2594,3 +2594,13 @@ IPv4 address sent from the remote server when setting up a passive data

2594 2594

channel. We reuse the ftp server IP address instead. For unusual code

2595 2595

requiring the old behavior, set a ``trust_server_pasv_ipv4_address``

2596 2596

attribute on your FTP instance to ``True``. (See :issue:`43285`)

2597 + 2598 + 2599 +

The presence of newline or tab characters in parts of a URL allows for some

2600 +

forms of attacks. Following the WHATWG specification that updates RFC 3986,

2601 +

ASCII newline ``\n``, ``\r`` and tab ``\t`` characters are stripped from the

2602 +

URL by the parser :func:`urllib.parse` preventing such attacks. The removal

2603 +

characters are controlled by a new module level variable

2604 +

``urllib.parse._UNSAFE_URL_BYTES_TO_REMOVE``. (See :issue:`43882`)

2605 + 2606 +

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