[wp-trac] [WordPress Trac] #9064: URLs with commas are not pinged

WordPress Trac wp-trac at lists.automattic.com
Wed Sep 26 06:21:11 UTC 2012


#9064: URLs with commas are not pinged
----------------------------------------+-----------------------------
 Reporter:  sirzooro                    |       Owner:
     Type:  defect (bug)                |      Status:  new
 Priority:  high                        |   Milestone:  Future Release
Component:  Pings/Trackbacks            |     Version:  2.7
 Severity:  major                       |  Resolution:
 Keywords:  has-patch needs-unit-tests  |
----------------------------------------+-----------------------------

Comment (by wonderboymusic):

 Another way to see how bad the current regex is - add a new post that has
 a bunch of URLs in its content to your local WP vhost with commas and
 &.

 2 examples:

 {{{
 http://wordpress-core/?346236346326&2134362574863.437
 http://wordpress-core/1,2,3,4,5,6/-1-2-3-4-/woo.html
 }}}

 WP will make HEAD requests to:

 {{{
 // breaks on the semicolon
 "HEAD /?346236346326&amp HTTP/1.0"

 // breaks after the first comma
 HEAD /1 HTTP/1.0
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/9064#comment:25>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list