Opened 8 years ago
Closed 8 years ago
#45378 closed defect (bug) (fixed)
Convert soft hyphens when sanitizing titles
| Reported by: | andg | Owned by: | pento |
|---|---|---|---|
| Priority: | normal | Milestone: | 5.1 |
| Component: | Formatting | Version: | |
| Severity: | normal | Keywords: | needs-patch needs-unit-tests |
| Cc: | Focuses: |
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)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Convert soft hyphens to empty string.