Make WordPress Core

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#19047 closed defect (bug) (duplicate)

Permalink Bug with em-dashes - not sanitizing

Reported by: boldperspective Owned by:
Priority: normal Milestone:
Component: Permalinks Version: 3.2.1
Severity: minor Keywords:
Cc: Focuses:

Description

If I were to create a post using long em dashes, the em dashes remain in the permalink

Example:
"Test — Post"

would become
"test-—-post"

I've seen that URL structure throw a 404 error one one of the servers I've worked on, but not every server.

Even if the 404 error wasn't a problem, that still looks like a dirty url to me.

Change History (2)

#1 @SergeyBiryukov
15 years ago

  • Keywords needs-patch removed
  • Milestone Awaiting Review
  • Resolutionduplicate
  • Status newclosed

#2 @boldperspective
15 years ago

Crap. Sorry.

Note: See TracTickets for help on using tickets.