[wp-trac] [WordPress Trac] #15549: Wordpress fails to ping whole url if there's an ampersand

WordPress Trac wp-trac at lists.automattic.com
Tue Nov 23 10:37:16 UTC 2010


#15549: Wordpress fails to ping whole url if there's an ampersand
------------------------------+---------------------------------------------
 Reporter:  unpix             |       Owner:                              
     Type:  defect (bug)      |      Status:  new                         
 Priority:  normal            |   Milestone:  Awaiting Review             
Component:  Pings/Trackbacks  |     Version:  3.1                         
 Severity:  normal            |    Keywords:  pingback url & ampersand
------------------------------+---------------------------------------------
 I have a custom blog and I noticed a problem with pingbacks from Wordpress
 blogs. When writing a post in Wordpress, it encodes the "&" properly to
 {{{
 &
 }}}
 html entity.

 However, when it tries to ping the url, it uses the url where the
 ampersands are encoded as html entities. This causes Wordpress to strip
 out every GET variable after the first one, for example:

 {{{
 URL should be:

 http://example.com/index.php?a=b&c=d

 but it is

 http://example.com/index.php?a=b&amp
 }}}

 So Wordpress misses everything after the first variable in the url and
 fails to ping the right url.

 I can see this from my server logs.

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


More information about the wp-trac mailing list