Opened 13 years ago
Closed 13 years ago
#18557 closed defect (bug) (duplicate)
curled apostrophe or quote in Post Title is left in generated permalink
Reported by: | awhig | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.2.1 |
Component: | Permalinks | Keywords: | |
Focuses: | Cc: |
Description
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.
Change History (1)
Note: See
TracTickets for help on using
tickets.
#10797