Comments (2)
Hi there,
some background information why the suggestion of @splitbrain is a valid solution and why this is actually a bug:
The bug was introduced on Jun 9, 2023 with this commit: cc7691a
and breaks existing xml-rpc client implementations.
The Content-Type header should be part of the internet protocol standard. E.g.:
- RFC 2616 -> (drafted 1999, obsolete)
- RFC 7231 -> (proposed standard June 2014, obsolete)
- RFC 9110 -> (current standard, since 2022)
Quote from RFC 5987 (obsolete) / RFC 8187 - this is about the charset
Note: recipients should be prepared to handle encoding errors,
such as malformed or incomplete percent escape sequences, or non-
decodable octet sequences, in a robust manner. This specification
does not mandate any specific behavior, for instance, the
following strategies are all acceptable:
* ignoring the parameter,
* stripping a non-decodable octet sequence,
* substituting a non-decodable octet sequence by a replacement
character, such as the Unicode character U+FFFD (Replacement
Character).
I remember seeing an RFC specification that contains several formats with and without spaces for the character set in the content type header. -> rfc7231#section-3.1.1.1
Also check https://www.w3.org/Protocols/rfc1341/4_Content-Type.html for the complete definition of the content-type header field.
The charset is an optional part of the Content-Type header. Please just ignore the charset, or check for utf-8 if dokuwiki assumes this charset. It is even possible to specify the requested charset in an answer: Accept-Charset.
Funnily enough, the responses that the xmlrpc-api produces contains the following content-type header: βtext/xml; charset=utf-8", however, currently does not accept this content type as before.
Have a nice day.
from dokuwiki.
I don't think it is a bug if software follows the specification: http://xmlrpc.com/spec.md
required headers are:
- A User-Agent and Host must be specified.
- The Content-Type is text/xml.
- The Content-Length must be specified and must be correct.
Reading https://datatracker.ietf.org/doc/html/rfc7231#section-3.1.1.1 learned me that the value of content type must be interpreted case insensitively
from dokuwiki.
Related Issues (20)
- Kaos update broke user login (authchained/authad, virtualgroup?) HOT 1
- Upgrade from Jack Jackrun to Kaos failed on last step
- "draft saved" notification makes edit field too narrow on mobile screens HOT 4
- Warnings after upgrade to Kaos HOT 3
- Warning: Trying to access array offset on value of type bool in /....../inc/Ui/Recent.php on line 165 HOT 3
- GeSHi highlight icon bug
- Spaces are not replaced with underscore (config setting) - forbidden blank page instead HOT 7
- JWT shouldn't be stored in cachedir HOT 3
- Fulltext search: Nonexistent keyword with ^namespace exclude yields all pages
- Page access control issue HOT 3
- Trusting X-Forwarded-*
- Plugin vshare does not show/load all youtube-Videos on different platforms HOT 1
- Portrait Images not displaying HOT 1
- Media Manager error with Release 2024-02-06a "Kaos" & Bootstrap3
- Kaos 55.1 - E_WARNING: Undefined array key 0 HOT 6
- Automatically set the release date of bundled plugins to match that of DokuWiki HOT 1
- New line in text should be rendered as such and not appended to the line HOT 2
- RFC: Official Docker Image HOT 3
- DokuWiki can't be opened HOT 3
- GitHub actions triggered on forks
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dokuwiki.