[wp-trac] [WordPress Trac] #23222: Title with % can break permalinks
WordPress Trac
noreply at wordpress.org
Wed Jan 16 23:31:26 UTC 2013
#23222: Title with % can break permalinks
-----------------------------+--------------------------
Reporter: MikeHansenMe | Type: defect (bug)
Status: new | Priority: normal
Milestone: Awaiting Review | Component: Permalinks
Version: | Severity: normal
Keywords: |
-----------------------------+--------------------------
Permalinks try to use the title. But the title uses sanitize_title to
clean it. This does not remove % and does not need to for the title but
for the permalink it causes problems.
Steps to reproduce
- set up permalinks (anything with %postname%)
- create a new post/page with the title %90
- click "view page"
- check the url
the result is example.com/�/
Another problem without js
- disable js and add new page
- use %91 as the title
- publish the post
- click view page
the result is example.com/%91/
Related or Similar tickets : #6072, #5305
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23222>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list