Incorrect (non-UTF-8) character handling in tag's name and slug
|Reported by:||sirzooro||Owned by:||westi|
|Component:||Charset||Keywords:||has-patch needs-unit-tests dev-feedback|
Incorrect (non-UTF-8) character tag's name and slug are handled in different way: name is truncated on 1st such character, and in slug they are just removed (no truncation). WP should handle both in the same way - drop invalid characters, instead of truncation.
I found this issue recently. One of the Polish programs for adding posts to the Wordpresses does not encode tags in UTF-8 - it left them in ISO-8859-2. I notified author of this bug. Unfortunately there are many copies around, so it may take a long time before everyone upgrade.
Change History (26)
comment:19 @westi — 6 years ago
- Keywords needs-unit-tests early added
- Milestone changed from 2.9 to 3.0
- Owner changed from filosofo to westi
- Status changed from new to accepted