[wp-trac] [WordPress Trac] #19047: Permalink Bug with em-dashes - not sanitizing

WordPress Trac wp-trac at lists.automattic.com
Tue Oct 25 17:33:59 UTC 2011


#19047: Permalink Bug with em-dashes - not sanitizing
-----------------------------+-----------------------------
 Reporter:  boldperspective  |      Owner:
     Type:  defect (bug)     |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Permalinks       |    Version:  3.2.1
 Severity:  minor            |   Keywords:  needs-patch
-----------------------------+-----------------------------
 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.

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


More information about the wp-trac mailing list