Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Prev Previous commit
Next Next commit
Wording cleanup and ReST editing for NEWS.
  • Loading branch information
gpshead authored Apr 29, 2021
commit ae07b8f2ed2cb9ffbbb5b9587b3b8e7167aada88
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Presence newline or tab characters in URL allowed attackers to write scripts
in URL, hijack the the the web-server.
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
urllib.parse strips ASCII newline and tabs from the url, preventing such
attacks.
:func:`urllib.parse` now removes ASCII newlines and tabs from urls,
Comment thread
orsenthil marked this conversation as resolved.
Outdated
preventing such attacks.