Skip to content

Bypass security checks leading to failed tests on late Python versions#1807

Merged
jaraco merged 3 commits into
masterfrom
bugfix/1781-bypass
Sep 22, 2019
Merged

Bypass security checks leading to failed tests on late Python versions#1807
jaraco merged 3 commits into
masterfrom
bugfix/1781-bypass

Conversation

@jaraco

@jaraco jaraco commented Sep 22, 2019

Copy link
Copy Markdown
Member

Fixes #1781

@jaraco
jaraco merged commit f737412 into master Sep 22, 2019
jaraco referenced this pull request in tipabu/cherrypy Sep 22, 2019
Fixes cherrypy#1781

Recent versions of CPython have gotten more picky about the sorts of
paths callers can pass to http.client's putrequest. Since we don't have
any control over what clients might send, though, keep coverage of the
invalid-request behavior by just opening up a socket and sending some
bytes.

See also: https://bugs.python.org/issue38216
@jaraco
jaraco deleted the bugfix/1781-bypass branch September 22, 2019 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

After the python3 fix for CVE-2019-9740 test_null_bytes fails

1 participant