bpo-30713: Reject newline in urllib.parse by vstinner · Pull Request #2301 · python/cpython

@vstinner

The splittype(), splitport() and splithost() functions of the
urllib.parse module now reject URLs which contain a newline
character.

@vstinner

The splittype(), splitport() and splithost() functions of the
urllib.parse module now reject URLs which contain a newline
character.

@vstinner

Oops, I created this PR using the "master" branch, instead of a local branch. I created a new PR: PR #2303.