bpo-30713: Reject newline in urllib.parse by vstinner · Pull Request #2301 · python/cpython
The splittype(), splitport() and splithost() functions of the
urllib.parse module now reject URLs which contain a newline
character.
The splittype(), splitport() and splithost() functions of the urllib.parse module now reject URLs which contain a newline character.
Oops, I created this PR using the "master" branch, instead of a local branch. I created a new PR: PR #2303.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters