Make WordPress Core

Opened 15 years ago

Closed 14 years ago

Last modified 14 years ago

#20170 closed defect (bug) (invalid)

The Incutio XML-RPC Library does not strip invalid XML characters

Reported by: tszming Owned by:
Priority: normal Milestone:
Component: XML-RPC Version: 3.3.1
Severity: normal Keywords:
Cc: Focuses:

Description (last modified by SergeyBiryukov)

Not sure how to contact the library' author, but as I experienced this issue when using with the wordpress's class-IXR.php, so I report here (​http://scripts.incutio.com/xmlrpc/)

See the attached script to reproduce the problem: There is a BEL (07) between the character A and B, and the client send the invalid character to the server.

Probably need to filter out the string like this ticket: #19998

Attachments (2)

xmlrpc-parser-error.php​ (318 bytes ) - added by tszming 15 years ago.
file-encoding-problem.png​ (21.2 KB ) - added by bpetty 14 years ago.

Download all attachments as: .zip

Change History (4)

#1 @bpetty
14 years ago

  • Component General → XML-RPC
  • Milestone Awaiting Review
  • Resolution → invalid
  • Status new → closed

You should look at your source file encodings a little closer. The problem is actually in your own source code. See file-encoding-problem.png​ as shown in my editor.

#2 @SergeyBiryukov
14 years ago

  • Description modified (diff)
Note: See TracTickets for help on using tickets.