Opened 6 years ago
Closed 6 years ago
#45378 closed defect (bug) (fixed)
Convert soft hyphens when sanitizing titles
Reported by: | andg | Owned by: | pento |
---|---|---|---|
Milestone: | 5.1 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Formatting | Keywords: | needs-patch needs-unit-tests |
Focuses: | Cc: |
Description
When copying and pasting titles from a different website, sometimes soft hyphens are included in the copied text. Unfortunately, the sanitize_title_with_dashes
function doesn't take care of this eventuality, since it doesn't convert %c2%ad
instances to empty strings.
In our client's installation, this led to slugs not being generated correctly, making those posts inaccessible.
Attachments (1)
Change History (4)
#1
@
6 years ago
- Component changed from General to Formatting
- Keywords needs-patch needs-unit-tests added
- Milestone changed from Awaiting Review to 5.1
- Owner set to SergeyBiryukov
- Status changed from new to accepted
Note: See
TracTickets for help on using
tickets.
Convert soft hyphens to empty string.