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 CuriousLearner
Recipients CuriousLearner, f9n
Date 2019-08-14.18:02:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1565805737.61.0.387541823461.issue37854@roundup.psfhosted.org>
In-reply-to
Content
Closed Issue 37853 as a duplicate.

Adding Fatih's comment from there for urllib.parse.urlparse


-------------------------------------------------------------

No problem for these:
  "http://localhost:9100"
  "http://user:password@localhost:9100"

But, these are problematic:
  "http://use#r:password@localhost:9100"
  "http://user:pass#word@localhost:9100"


```
from urllib.parse import urlparse

url = "http://us#er:123@localhost:9001/RPC2"
u = urlparse(url)
print(u)
# ParseResult(scheme='http', netloc='us', path='', params='', query='', fragment='er:123@localhost:9001/RPC2')
```


--------------------------------------
History
Date User Action Args
2019-08-14 18:02:17CuriousLearnersetrecipients: + CuriousLearner, f9n
2019-08-14 18:02:17CuriousLearnersetmessageid: <1565805737.61.0.387541823461.issue37854@roundup.psfhosted.org>
2019-08-14 18:02:17CuriousLearnerlinkissue37854 messages
2019-08-14 18:02:17CuriousLearnercreate