[wp-trac] [WordPress Trac] #14993: make_clickable issue with ! character in URL

WordPress Trac wp-trac at lists.automattic.com
Wed Sep 29 20:22:13 UTC 2010


#14993: make_clickable issue with ! character in URL
--------------------------+-------------------------------------------------
 Reporter:  lancewillett  |       Owner:                 
     Type:  defect (bug)  |      Status:  new            
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Formatting    |     Version:  3.0.1          
 Severity:  normal        |    Keywords:                 
--------------------------+-------------------------------------------------
 This comes to light with recent Twitter changes to how tweet permalinks
 work. Example: http://twitter.com/#!/wordpress/status/25907440233

 When filtered with {{{make_clickable}}} the URL result stops at the #
 character. Resulting HTML:

 {{{
 <a href="http://twitter.com/#" rel="noreferrer
 nofollow">http://twitter.com/#</a>
 !/wordpress/status/25907440233
 }}}

 Adding ! to the pattern would avoid this.

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


More information about the wp-trac mailing list