Make WordPress Core

Opened 22 years ago

Closed 21 years ago

Last modified 6 weeks ago

#2 closed defect (bug) (fixed)

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

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

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 changed from General to XML-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
21 years ago

  • Owner changed from anonymous to michel v
  • Resolution changed from 10 to 20
  • Status changed from new to closed

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.


6 weeks 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.