WordPress.org

Make WordPress Core

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#27 closed defect (bug) (fixed)

You must have a trailing slash on ping URIs or post.php/editpost just stops

Reported by: unbrand Owned by: michel v
Priority: normal Milestone:
Component: XML-RPC Version:
Severity: minor Keywords:
Cc:

Description

xml-rpc is expecting a valid $path, so we must make sure it gets one. Currently in functions.php, there is no check for a trailing slash on the URIs entered into "Update Services" in the admin interface. If the user does not put a trailing slash on all URIs, then xml-rpc never gets a $path and the "editpost" processing in post.php just bails. Nasty side effects of not finishing the "editpost" processing which include delete/add/update of custom fields (post_meta).

Attachments (1)

0000027-functions.php (45.7 KB) - added by unbrand 8 years ago.

Download all attachments as: .zip

Change History (7)

comment:2 gfmorris9 years ago

This <em>could</em> be the issue I've had with my <a href="http://mosquito.wordpress.org/bug_view_page.php?bug_id=0000070">Bug 70</a>.

comment:3 gfmorris9 years ago

After testing, it is not apparently related.

comment:4 anonymousbugger9 years ago

I had the same problem: adding/updating simply does not work, it says that custom fields were updated but they never are.

I applied your patch to a virgin 1.2, but it doesn't help. The only URL to ping out of the box is "http://rpc.pingomatic.com/" which has a trailing slash.

Nevertheless, functions:weblog_ping() bails out.

comment:5 michel v9 years ago

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

Not an issue with the current CVS.

unbrand8 years ago

Note: See TracTickets for help on using tickets.