WordPress.org

Make WordPress Core

Opened 9 months ago

Last modified 5 months 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:

Description

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
9 months 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
5 months ago

  • Milestone changed from 5.4 to Future Release

Hi,

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.