enforce content type on XML-RPC. addresses #3991
commitcc7691adb9a9fb131cdc07a53e826dbcd58bf0ad
authorAndreas Gohr <andi@splitbrain.org>
Fri, 9 Jun 2023 18:50:42 +0000 (9 20:50 +0200)
committerAndreas Gohr <andi@splitbrain.org>
Fri, 9 Jun 2023 19:24:39 +0000 (9 21:24 +0200)
tree2c0b1ccaa62778a49610cb42b31c94a680fe38cd
parent68253c2bb8d5510451aa80bb7b29f7bc4d790a70
enforce content type on XML-RPC. addresses #3991

This ensures only text/xml or application/xml content types are accepted
when communicating with the XML-RPC API
_test/tests/inc/XmlRpcServer.test.php
inc/Remote/XmlRpcServer.php