[wp-trac] [WordPress Trac] #18557: curled apostrophe or quote in Post Title is left in generated permalink
WordPress Trac
wp-trac at lists.automattic.com
Wed Aug 31 19:25:01 UTC 2011
#18557: curled apostrophe or quote in Post Title is left in generated permalink
--------------------------+-----------------------------
Reporter: awhig | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Permalinks | Version: 3.2.1
Severity: normal | Keywords:
--------------------------+-----------------------------
My users consistently copy the title and content of their posts from MS
Word into the wordpress system.
I have found, that when they post the title from MS Word, into the the
title field, the generated URL leaves in the "curled" quotes and curled
"apostrophes" in the URL, which causes a problem on many different levels.
I believe these characters should also be filtered out of the URL, just
like the regular apostrophe ( ' ) and quote marks ( " ).
For reference, here is the quote mark generated by Word, that is not
filtered out:
Bad apostrophe ‘
Bad open and close quote “hello”
To duplicate, just copy these strings into the title field of a new post.
Inspect the generated URL.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18557>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list