This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author philfr
Recipients philfr
Date 2007-10-01.11:20:25
SpamBayes Score 0.09929396
Marked as misclassified No
Message-id <1191237626.38.0.0266691685704.issue1224@psf.upfronthosting.co.za>
In-reply-to
Content
The fix to issue 1394565 introduces a nasty side-effect:
"GET http://server//file" (with two /s) does not work anymore. It
returns the directory index instead.

This is because urlparse is not applied to an URL, but to its right-hand
part starting at the path.

urlparse.urlparse("http://server//foo")[2] correctly returns //foo, but 
urlparse.urlparse("//foo")[2] (as used in this library) returns an empty
string.
History
Date User Action Args
2007-10-01 11:20:26philfrsetspambayes_score: 0.099294 -> 0.09929396
recipients: + philfr
2007-10-01 11:20:26philfrsetspambayes_score: 0.099294 -> 0.099294
messageid: <1191237626.38.0.0266691685704.issue1224@psf.upfronthosting.co.za>
2007-10-01 11:20:26philfrlinkissue1224 messages
2007-10-01 11:20:25philfrcreate