Make WordPress Core

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#19047 closed defect (bug) (duplicate)

Permalink Bug with em-dashes - not sanitizing

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

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
14 years ago

  • Keywords needs-patch removed
  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

#2 @boldperspective
14 years ago

Crap. Sorry.

Note: See TracTickets for help on using tickets.