Yair Frid <[email protected]> added the comment:
This issue was discovered when i was writing unit tests for #42766, since
#42766 was fixed when i discovered it, i realized i might want a new issue, i
don't mind moving this to be a comment, but there *are* 2 distinct test cases
that fail:
a test case that would fail here:
is_suburi('/foo/bar', '/bar/foo') == True
which is different than;
is_suburi('/foo/bar', '/foobar') == True
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue42878>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com