Message311704
| Author | pfish |
|---|---|
| Recipients | pfish |
| Date | 2018-02-06.04:48:49 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1517892529.44.0.467229070634.issue32779@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
urljoining with '?' will not clear a query string:
ACTUAL:
>>> import urllib.parse
>>> urllib.parse.urljoin('http://a/b/c?d=e', '?')
'http://a/b/c?d=e'
EXPECTED:
'http://a/b/c' (optionally, with a ? at the end)
WhatWG's URL standard expects a relative URL consisting of only a ? to replace a query string:
https://url.spec.whatwg.org/#relative-state
Seen in versions 3.6 and 2.7, but probably also affects later versions. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2018-02-06 04:48:49 | pfish | set | recipients: + pfish |
| 2018-02-06 04:48:49 | pfish | set | messageid: <1517892529.44.0.467229070634.issue32779@psf.upfronthosting.co.za> |
| 2018-02-06 04:48:49 | pfish | link | issue32779 messages |
| 2018-02-06 04:48:49 | pfish | create | |