New and Improved 3.13 Beta. Highlights: Shareable filters and dashboards and lots of other goodies. Any feedback can be raised as JIRA issues in the JIRA project.
Issue Details (XML | Word | Printable)

Key: CONF-10213
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Paul Curren [Atlassian]
Reporter: Christopher Owen [Atlassian]
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Confluence

XML RPC server uses platform default character encoding to decode requests

Created: 10/Dec/07 10:01 PM   Updated: 08/Jan/08 10:02 PM
Component/s: Internationalisation, Remote API (SOAP & XML-RPC)
Affects Version/s: 2.3, 2.4, 2.5, 2.6.0
Fix Version/s: 2.7.1, 2.8

Time Tracking:
Not Specified

Issue Links:
Reference

Participants: Christopher Owen [Atlassian] and Paul Curren [Atlassian]
Since last comment: 34 weeks, 4 days ago
Resolution Date: 08/Jan/08 10:02 PM
Labels:


 Description  « Hide
The Apache XML-RPC server included with Confluence uses the MinML sax parser by default to parse incoming RPC requests. This parser uses the platform default character encoding to decode the incoming XML instead of standard XML procedures for determining document encoding. This can cause string corruption when the platform encoding is not compatible with the encoding and characters used in the XML-RPC call.

Apache XML-RPC server allows any JAXP standard parser to be used to parse incoming requests; we should configure it to use Xerces which is already included with Confluence and obeys the rules regarding XML document encoding.



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Christopher Owen [Atlassian] added a comment - 10/Dec/07 10:02 PM
CONF-10140: Initial issue which led to this discovery

Christopher Owen [Atlassian] added a comment - 10/Dec/07 10:05 PM
Changed the default sax parser to be Apache Xerces. Also allow for customisation of the parser via the confluence.rpc.xml.sax.parser system property.

Christopher Owen [Atlassian] added a comment - 17/Dec/07 05:13 AM
Adding 2.7.1 to put it on bugfix team radar. I'll leave it to them to decide whether this should make a stable release

Christopher Owen [Atlassian] added a comment - 30/Dec/07 04:52 PM
Found an older issue related to this which was supposedly fixed in Confluence 2.0. May have been a false fix as platform encoding during tests was probably UTF-8