[issue42878] urllib.request.HTTPPasswordMgr.is_suburi does not care about order
Yair Frid
report at bugs.python.org
Sat Jan 9 16:23:37 EST 2021
New submission from Yair Frid <fridyair at gmail.com>:
In docs, it mentions that the function returns true if the base is a 'suburi' of test, but in reality, if is_suburi(base, test) then is_suburi(test, base) which is wrong in most cases (other than where base ~= test, meaning they are the same location)
I am unsure which versions of python are affected, but i suspect most of them (although we probably shouldn't backport this fix?)
----------
components: Library (Lib)
messages: 384741
nosy: Fongeme
priority: normal
pull_requests: 23009
severity: normal
status: open
title: urllib.request.HTTPPasswordMgr.is_suburi does not care about order
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42878>
_______________________________________
More information about the Python-bugs-list
mailing list