Make WordPress Core

Opened 2 years ago

Last modified 2 years ago

#48475 accepted defect (bug)

Permalink includes hidden characters like U+2028

Reported by: Mte90 Owned by: SergeyBiryukov
Milestone: Future Release Priority: normal
Severity: normal Version:
Component: Permalinks Keywords: needs-patch needs-unit-tests
Focuses: Cc:


How to try:

Copy and paste in a title including this string from https://pastebin.com/97xBxXHk (I had to publish there because on Trac this symbols is removed).

You will see an url custom-title-number-2019%e2%80%a8/ saved.

This because the title include this https://graphemica.com/2028, it is a hidden symbol that WordPress doesn't strip away.
If you copy paste rightly the string to https://www.soscisurvey.de/tools/view-chars.php you will see this symbols.

Change History (2)

#1 @SergeyBiryukov
2 years ago

  • Keywords needs-patch needs-unit-tests added
  • Milestone changed from Awaiting Review to 5.4
  • Owner set to SergeyBiryukov
  • Status changed from new to accepted

Related: #44958, #47594, #47912.

#2 @audrasjb
2 years ago

  • Milestone changed from 5.4 to Future Release


With 5.4 Beta 3 approaching and the Beta period reserved for bugs introduced during the cycle, this is being moved to Future Release. If any maintainer or committer feels this should be included or wishes to assume ownership during a specific cycle, feel free to update the milestone accordingly.

Note: See TracTickets for help on using tickets.