Visitar URL original
bpo-43882 - urllib.parse should sanitize urls containing ASCII newline and tabs. by orsenthil · Pull Request #25595 · python/cpython · GitHub
Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.