[issue42766] urllib.request.HTTPPasswordMgr uses commonprefix instead of commonpath

2022-02-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Sorry I did not notice this issue. It is now solved in issue46756. In any case thank you for the report and the PR. -- nosy: +serhiy.storchaka resolution: -> duplicate stage: patch review -> resolved status: open -> closed superseder: -> Incorrect

[issue42766] urllib.request.HTTPPasswordMgr uses commonprefix instead of commonpath

2021-07-06 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +orsenthil ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue42766] urllib.request.HTTPPasswordMgr uses commonprefix instead of commonpath

2021-01-09 Thread Yair Frid
Change by Yair Frid : -- keywords: +patch nosy: +Fongeme nosy_count: 1.0 -> 2.0 pull_requests: +23007 stage: -> patch review pull_request: https://github.com/python/cpython/pull/24181 ___ Python tracker

[issue42766] urllib.request.HTTPPasswordMgr uses commonprefix instead of commonpath

2020-12-28 Thread Donát Nagy
New submission from Donát Nagy : The is_suburi(self, base, test) method of HTTPPasswordMgr in the urllib.request module tries to "Check if test is below base in a URI tree", but it uses the posixpath.commonprefix() function. This is problematic because commonprefix ignores the path structure (