Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

bpo-43882 - urllib.parse should sanitize urls containing ASCII newline and tabs. #25595

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Apr 29, 2021
Merged
Prev Previous commit
Next Next commit
Update Misc/NEWS.d/next/Security/2021-04-25-07-46-37.bpo-43882.Jpwx85…
….rst

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
  • Loading branch information
orsenthil and serhiy-storchaka authored Apr 29, 2021
commit 5f61b9ebf885be41ed19fe605bdc8c5bb599eb9e
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ The presence of newline or tab characters in parts of a URL could allow
some forms of attacks.

Following the controlling specification for URLs defined by WHATWG
:func:`urllib.parse` now removes ASCII newlines and tabs from urls,
:func:`urllib.parse` now removes ASCII newlines and tabs from URLs,
preventing such attacks.
Morty Proxy This is a proxified and sanitized view of the page, visit original site.