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 martin.panter
Recipients martin.panter, yaaboukir
Date 2015-02-24.00:35:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1424738149.68.0.585857476721.issue23505@psf.upfronthosting.co.za>
In-reply-to
Content
Perhaps you actually meant four input slashes, producing two output slashes. That seems more of a bug to me:

>>> urlparse("////foo.com")
ParseResult(scheme='', netloc='', path='//foo.com', params='', query='', fragment='')
>>> urlunparse(_)
'//foo.com'

Solving Issue 22852, which proposes some flags including “has_netloc” on the ParseResult object, might help with this.
History
Date User Action Args
2015-02-24 00:35:49martin.pantersetrecipients: + martin.panter, yaaboukir
2015-02-24 00:35:49martin.pantersetmessageid: <1424738149.68.0.585857476721.issue23505@psf.upfronthosting.co.za>
2015-02-24 00:35:49martin.panterlinkissue23505 messages
2015-02-24 00:35:49martin.pantercreate