Opened 14 years ago
Closed 13 years ago
#16566 closed defect (bug) (duplicate)
Copyright symbol not transformed in post slug
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.1 |
Component: | Permalinks | Keywords: | 3.2-early has-patch |
Focuses: | Cc: |
Description
When you use an ASCII copyright symbol within a post title, the generated slug keep the copyright symbol. See a screenshot of my test case here: http://twitpic.com/4058mz
For reference, here is the title string (I hope Trac will not mess the encoding):
New forum © by someone
To me this looks like a bug as slugs are here to increase "search engine friendliness" of WordPress.
Some solutions may be:
- To strip the copyright symbol out of the
- Replace the symbol by a single
c
letter - Replace the symbol by another word like
(c)
,copyright
, ...
This bug was produced on a fresh WordPress 3.1-RC4 instance.
Attachments (1)
Change History (6)
#2
@
14 years ago
added an attachment it removes copyright and registered symbol in remove_accents()
Note: See
TracTickets for help on using
tickets.
I was wrong, the copyright symbol in my string is not an ASCII one. Here is the proof:
This bug report is still valid as the slug sanitization process doesn't ends with a clean URL.