WordPress.org

Make WordPress Core

Opened 26 hours ago

Last modified 25 hours ago

#48475 accepted defect (bug)

Permalink includes hidden characters like U+2028

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

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 (1)

#1 @SergeyBiryukov
25 hours 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.

Note: See TracTickets for help on using tickets.