[issue30500] urllib connects to a wrong host

STINNER Victor report at bugs.python.org
Wed Jun 7 04:30:25 EDT 2017


STINNER Victor added the comment:

> I think the best behavior is to do what popular web browsers do. Chrome and Firefox, for example, parses this is host 127.0.0.1, path /, fragment #@evil.com.

I agree that in case of doubt, it's better to follow the implementation of most popular web browser which indirectly define the "standard".

----------
nosy: +haypo

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30500>
_______________________________________


More information about the Python-bugs-list mailing list