Opened 8 years ago
Closed 8 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: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Editor | Version: | 5.0 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Hi @pressupinc, welcome to WordPress Trac!
Thanks for the report, we're already tracking this issue in #45478.