Make WordPress Core

Opened 20 years ago

Closed 20 years ago

Last modified 8 months ago

#27 closed defect (bug) (fixed)

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

Reported by: unbrand's profile unbrand Owned by: michel-v's profile michel v
Milestone: Priority: normal
Severity: minor Version:
Component: XML-RPC Keywords:
Focuses: 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 19 years ago.

Download all attachments as: .zip

Change History (8)

#2 @gfmorris
20 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
20 years ago

After testing, it is not apparently related.

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

This ticket was mentioned in Slack in #core by westonruter. View the logs.


7 years ago

Note: See TracTickets for help on using tickets.