[wp-trac] [WordPress Trac] #4836: Ellipses in post titles not properly escaped

WordPress Trac wp-trac at lists.automattic.com
Tue Aug 28 10:46:09 GMT 2007

#4836: Ellipses in post titles not properly escaped
 Reporter:  Kopf     |       Owner:  anonymous 
     Type:  defect   |      Status:  new       
 Priority:  normal   |   Milestone:  2.4 (next)
Component:  General  |     Version:  2.2.1     
 Severity:  normal   |    Keywords:            
 I have noticed a bug in version 2.2.1 (and previous) of Wordpress relating
 to the filtering of post titles and the construction of post slugs. When
 inputting an ellipsis character into a post title (… -- notice it is not
 "..." but "…," the single character itself), Wordpress does not properly
 remove the ellipsis when constructing a post slug. Consequently, if one
 were to have a post named "What I Did Today…" located at www.example.com,
 the link would appear as "www.example.com/2007/08/28/what-i-did-today…"
 instead of "www.example.com/2007/08/28/what-i-did-today." Further,
 visiting the link would reveal it to be actually
 "www.example.com/2007/08/28/what-i-did-today%e2%80%a6" -- not very pretty
 and certainly not what one would want. Further, in the page itself, the
 ellipsis character would be left unescaped in the HTML instead of being
 replaced with the requisite "…."

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

More information about the wp-trac mailing list