[issue46870] Improper Input Validation in urlparse

2022-02-26 Thread Pocas
New submission from Pocas : If http:@localhost url is entered as an argument value of the urlpasre() function, the parser cannot parse it properly. Since http:@localhost is a valid URL, the character after the @ character must be parsed as a hostname. Python 3.9.10 (main, Jan 15 2022, 11:48

[issue46870] Improper Input Validation in urlparse

2022-02-26 Thread Pocas
Change by Pocas : -- type: performance -> security ___ Python tracker <https://bugs.python.org/issue46870> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue46870] Improper Input Validation in urlparse

2022-02-26 Thread Pocas
Pocas added the comment: >>> print(urlparse('https:\\google.com')) ParseResult(scheme='https', netloc='', path='\\google.com', params='', query='', fragment='') >>> print(urlparse('https://googl

[issue46870] Improper Input Validation in urlparse

2022-03-02 Thread Pocas
Pocas added the comment: Nice Check. So what do you think about this issue? I want to hear your opinions. -- ___ Python tracker <https://bugs.python.org/issue46