Make WordPress Core

Opened 16 years ago

Closed 14 years ago

#4836 closed defect (bug) (duplicate)

Ellipses in post titles not properly escaped

Reported by: kopf's profile Kopf Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.2.1
Component: General Keywords:
Focuses: Cc:

Description

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 "…."

Change History (1)

#1 @Denis-de-Bernardy
14 years ago

  • Milestone 2.9 deleted
  • Resolution set to duplicate
  • Status changed from new to closed

see #9591

Note: See TracTickets for help on using tickets.