This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: xmlrpc.client.ServerProxy silently drops query string from URI
Type: behavior Stage: resolved
Components: Library (Lib) Versions: Python 3.10, Python 3.9
process
Status: closed Resolution: duplicate
Dependencies: Superseder: xmlrpc.client ignores query in URI ("?action=xmlrpc2") since python-3.9
View: 43433
Assigned To: Nosy List: christian.heimes, kynan
Priority: normal Keywords:

Created on 2021-03-28 09:21 by kynan, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Messages (1)
msg389632 - (view) Author: frathgeber (kynan) Date: 2021-03-28 09:21
The change introduced in https://github.com/python/cpython/pull/15703 (bpo-38038) caused an (I presume unintended) behavior change that breaks some xmlrpc users: previously, the XLMRPC handler was everything after the host part of the URI (https://github.com/python/cpython/blame/32f825393e5836ab71de843596379fa3f9e23c7a/Lib/xmlrpc/client.py#L1428), but now the query string is *discarded* (https://github.com/python/cpython/blame/63298930fb531ba2bb4f23bc3b915dbf1e17e9e1/Lib/xmlrpc/client.py#L1424).

This is known to break the XMLRPC for DokuWiki (https://www.dokuwiki.org/devel:xmlrpc), which uses query parameters for authentication: https://github.com/kynan/dokuwikixmlrpc/issues/8
History
Date User Action Args
2022-04-11 14:59:43adminsetgithub: 87811
2021-03-28 09:28:19serhiy.storchakasetstatus: open -> closed
superseder: xmlrpc.client ignores query in URI ("?action=xmlrpc2") since python-3.9
resolution: duplicate
stage: resolved
2021-03-28 09:21:24kynancreate