Make WordPress Core

Opened 11 years ago

Closed 11 years ago

Last modified 11 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
Milestone: Priority: normal
Severity: minor Version:
Component: XML-RPC Keywords:
Focuses: Cc:


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 11 years ago.

Download all attachments as: .zip

Change History (7)

#2 @gfmorris
11 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>.

#3 @gfmorris
11 years ago

After testing, it is not apparently related.

#4 @anonymousbugger
11 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.

#5 @michel v
11 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.

Note: See TracTickets for help on using tickets.