Martin Panter added the comment: This is essentially the same as Issue 22852. The title just refers to stripping an empty #fragment, but the netloc and query components are also affected. I have a patch there which needs reviewing, if you are interested. Or if you have any alternative ideas on how to solve this they would be welcome too.
---------- nosy: +vadmium resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> urllib.parse wrongly strips empty #fragment _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue24332> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com