Opened 6 years ago
Closed 6 years ago
#45588 closed defect (bug) (duplicate)
Gutenberg does not strip special characters from its "permalink preview" for draft articles
Reported by: | pressupinc | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 5.0 |
Component: | Editor | Keywords: | |
Focuses: | Cc: |
Description
In 5.0, Gutenberg doesn't properly strip special characters from its suggested permalinks for post drafts.
If you create an article with the following title:
Article,./<>?;:'"[{]}\|-_=+`~!@#$%^&*()
and save the article as a draft, the "suggested permalink" generated above it is:
https://site.com/article,-<>?;:'"[{]}\|--=+`~!@#$%^&*()
If you then publish it, it creates the proper permalink with special characters stripped:
https://site.com/article-_
But the preview generator needs to be stripping those special characters.
Attachments (2)
Change History (4)
Note: See
TracTickets for help on using
tickets.
Hi @pressupinc, welcome to WordPress Trac!
Thanks for the report, we're already tracking this issue in #45478.