[issue43433] xmlrpc.client ignores query in URI ("?action=xmlrpc2") since python-3.9

Serhiy Storchaka report at bugs.python.org
Mon Mar 29 05:33:16 EDT 2021


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

Thank you for your reports OndrejPtak and frathgeber.

Indeed, the behavior change was unintended. PR 25057 tries to to restore the old behavior. Query and fragment are now preserved in the server URL.

But there are still minor differences. Empty query and fragment are stripped from the URL, so "http://example.org/RPC2?", "http://example.org/RPC2#" and "http://example.org/RPC2" refer to the same connection point. I am not sure that it is important. It would be not easy to preserve the old behavior in these corner cases.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43433>
_______________________________________


More information about the Python-bugs-list mailing list