8000 bpo-30458: Disallow control chars in http URLs. by gpshead · Pull Request #12755 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

bpo-30458: Disallow control chars in http URLs. #12755

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
May 1, 2019
Merged
Prev Previous commit
Next Next commit
fix misplaced f-str
  • Loading branch information
gpshead authored Apr 10, 2019
commit 5589519991bcad73fadf12d6d718eef66f9eed31
4 changes: 2 additions & 2 deletions Lib/test/test_xmlrpc.py
7AC9
Original file line number Diff line number Diff line change
Expand Up @@ -946,8 +946,8 @@ def test_partial_post(self):
with contextlib.closing(socket.create_connection((ADDR, PORT))) as conn:
conn.send('POST /RPC2 HTTP/1.0\r\n'
'Content-Length: 100\r\n\r\n'
f'bye HTTP/1.1\r\n'
'Host: {ADDR}:{PORT}\r\n'
'bye HTTP/1.1\r\n'
f'Host: {ADDR}:{PORT}\r\n'
'Accept-Encoding: identity\r\n'
'Content-Length: 0\r\n\r\n'.encode('ascii'))

Expand Down
0