Make WordPress Core

Opened 22 years ago

Closed 22 years ago

Last modified 8 months ago

#2 closed defect (bug) (fixed)

posting per xmlrpc - works, but gives errmsgs ala "invalid xml"

Reported by: steamedpenguin Owned by: michel v
Priority: normal Milestone:
Component: XML-RPC Version:
Severity: trivial Keywords: has-patch
Cc: Focuses:

Description

attempts:
a)newsgator 2.0.3.1 b2 plugin
b)jericho-0.7

Attachments (2)

0000002-xmlrpc.php (85.5 KB ) - added by steamedpenguin 21 years ago.
0000002-xmlrpcbug.zip (2.2 KB ) - added by steamedpenguin 21 years ago.

Download all attachments as: .zip

Change History (8)

#2 @steamedpenguin
22 years ago

Originally from Skippy submitted at steamedpenguin.com/mantis/

#3 @JasonV
22 years ago

  • category GeneralXML-RPC

#4 @sdevore
22 years ago

I regularly get truncated responses when getting postTitles and categories via xmlrpc in some clients but not others

#5 @michel v
22 years ago

  • Owner changed from anonymous to michel v
  • Resolution 1020
  • Status newclosed

That should be fixed. Add a comment if that happens again, though.

This ticket was mentioned in PR #10720 on WordPress/wordpress-develop by asmitha-16.


8 months ago
#7

  • Keywords has-patch added

This PR improves defensive handling in WP_REST_Request::sanitize_params()
by validating parameter types before applying sanitize callbacks.

Benefits:

  • Prevents PHP warnings on malformed or unexpected input
  • Ensures arrays are sanitized item-by-item
  • Improves data integrity for REST API requests
  • Aligns with secure coding practices in WordPress core
Note: See TracTickets for help on using tickets.