Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(5254)

Issue 1918042: urllib2 passes fragment identifier to the server

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 9 months ago by dstanek
Modified:
13 years, 5 months ago
Reviewers:
merwok
Visibility:
Public.

Description

This is the patch for issue 8280: http://bugs.python.org/issue8280. An HTTP client should not send fragments to the server.

Patch Set 1 #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -2 lines) Patch
M Lib/test/test_urllib.py View 1 chunk +33 lines, -1 line 3 comments Download
M Lib/urllib/request.py View 2 chunks +2 lines, -1 line 3 comments Download

Messages

Total messages: 3
merwok
Looks good to me. http://codereview.appspot.com/1918042/diff/1/2 File Lib/test/test_urllib.py (right): http://codereview.appspot.com/1918042/diff/1/2#newcode1090 Lib/test/test_urllib.py:1090: def test_a_wrapped_url(self): It’s not usual ...
13 years, 9 months ago (2010-08-03 23:28:39 UTC) #1
dstanek
http://codereview.appspot.com/1918042/diff/1/2 File Lib/test/test_urllib.py (right): http://codereview.appspot.com/1918042/diff/1/2#newcode1090 Lib/test/test_urllib.py:1090: def test_a_wrapped_url(self): On 2010/08/03 23:28:39, merwok wrote: > It’s ...
13 years, 9 months ago (2010-08-03 23:38:48 UTC) #2
merwok
13 years, 5 months ago (2010-11-28 03:51:04 UTC) #3
http://codereview.appspot.com/1918042/diff/1/Lib/test/test_urllib.py
File Lib/test/test_urllib.py (right):

http://codereview.appspot.com/1918042/diff/1/Lib/test/test_urllib.py#newcode1090
Lib/test/test_urllib.py:1090: def test_a_wrapped_url(self):
Okay, but internal consistency in stdlib tests is better :)

http://codereview.appspot.com/1918042/diff/1/Lib/urllib/request.py
File Lib/urllib/request.py (right):

http://codereview.appspot.com/1918042/diff/1/Lib/urllib/request.py#newcode166
Lib/urllib/request.py:166: self.full_url, garbage = splittag(self.full_url)
Alright.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b