[wp-trac] [WordPress Trac] #10241: Pingback fails due to apostrophe in HTML comment?

WordPress Trac wp-trac at lists.automattic.com
Tue Jun 23 11:56:07 GMT 2009


#10241: Pingback fails due to apostrophe in HTML comment?
--------------------------+-------------------------------------------------
 Reporter:  Viper007Bond  |       Owner:  josephscott
     Type:  defect (bug)  |      Status:  new        
 Priority:  lowest        |   Milestone:  Unassigned 
Component:  XML-RPC       |     Version:  2.8        
 Severity:  minor         |    Keywords:  needs-patch
--------------------------+-------------------------------------------------
 My Video Quicktags plugin has had on and off reports about it breaking the
 sending of pingbacks.

 A user of the plugin has reported to me that the issue is due to an
 apostrophe in an HTML comment inserted into the `<head>` by my plugin:
 http://plugins.trac.wordpress.org/changeset/128694


 > we analysed the Ping Bug of your Plugin. XMLRPC wants to check the page
 that is pinging and returns the Error 17: "The source URL does not contain
 a link to the target URL, and so cannot be used as a source."[[BR]]
 > [[BR]]
 > The Problem is the "'" in <!-- Viper's Video Quicktags line 2651 of
 Version 6.2.5[[BR]]
 > [[BR]]
 > When XMLRPC executes "$linea = strip_tags( $linea, '<a>' );" and your
 Plugin is running only other stuff will show. Not right the Content.

 Assuming this was indeed the cause, shouldn't WordPress be smarter than
 that?

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/10241>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list