Opened 2 years ago
Closed 11 months ago
#16566 closed defect (bug) (duplicate)
Copyright symbol not transformed in post slug
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Permalinks | Version: | 3.1 |
| Severity: | normal | Keywords: | 3.2-early has-patch |
| 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)
comment:1
Coolkevman — 2 years ago
added an attachment it removes copyright and registered symbol in remove_accents()
- Keywords 3.2-early added
- Milestone changed from Awaiting Review to Future Release
This needs to be done in conjunction with rolling permalink updates, as otherwise this will break existing links.
comment:5
SergeyBiryukov — 11 months ago
- Milestone Future Release deleted
- Resolution set to duplicate
- Status changed from new to closed
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.