API: ignore charset when checking content types
commitba15f985c4b85f33c267c8f76eefdc0d8bd97e11
authorAndreas Gohr <andi@splitbrain.org>
Thu, 22 Feb 2024 17:22:47 +0000 (22 18:22 +0100)
committerAndreas Gohr <andi@splitbrain.org>
Thu, 22 Feb 2024 17:22:47 +0000 (22 18:22 +0100)
treee5cd5db32a26095ae9ba494aa42f2ec139c422be
parentff6a7a9d5faee648df31090bfa612e064ab19bfd
API: ignore charset when checking content types

We still expect all communication to be in UTF-8, but we really don't
need a charset attribute for that.

fixes #4218, replaces #4219
inc/Remote/JsonRpcServer.php
inc/Remote/XmlRpcServer.php