Open Close <openandclos...@gmail.com> added the comment:
'http:///g' has absolute path '/g', and as urljoin shows: >>> urljoin('http://a/b/c/d', 'http:///g') 'http://a/g' # 'a' is netloc So you are proposing third interpretation. "http:g" = "http:g" ; for strict parsers / "http://a/b/c/g" ; for backward compatibility / "http://a/g" ; (yours) ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue40938> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com