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 | pitrou |
|---|---|
| Recipients | demian.brecht, orsenthil, pitrou |
| Date | 2014年08月31日.10:17:24 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1409480244.41.0.425260227932.issue22278@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
This patch seems to fix issue #22311 as well (*). However it would be good to add more tests for base URLs with trailing slashes, it seems. (*) without patch: >>> base = """https://pypi.python.org/simple/werkzeug/""" >>> rel = """../../packages/2.3/W/Werkzeug/Werkzeug-0.3.1-py2.3.egg#md5=5f669acf04af135ad8577d99a4387504""" >>> urllib.parse.urljoin(base, rel) 'https://pypi.python.org/simple/packages/2.3/W/Werkzeug/Werkzeug-0.3.1-py2.3.egg#md5=5f669acf04af135ad8577d99a4387504' with patch: >>> urllib.parse.urljoin(base, rel) 'https://pypi.python.org/packages/2.3/W/Werkzeug/Werkzeug-0.3.1-py2.3.egg#md5=5f669acf04af135ad8577d99a4387504' |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2014年08月31日 10:17:24 | pitrou | set | recipients: + pitrou, orsenthil, demian.brecht |
| 2014年08月31日 10:17:24 | pitrou | set | messageid: <1409480244.41.0.425260227932.issue22278@psf.upfronthosting.co.za> |
| 2014年08月31日 10:17:24 | pitrou | link | issue22278 messages |
| 2014年08月31日 10:17:24 | pitrou | create | |