WordPress.org

Make WordPress Core

Opened 3 years ago

Last modified 7 months ago

#38044 new defect (bug)

Make seems_utf8() RFC 3629 compliant.

Reported by: gitlost Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version: 1.2.1
Component: Formatting Keywords: needs-patch
Focuses: Cc:
PR Number:

Description

seems_utf8() should be made RFC 3629 compliant. Currently it accepts overlong sequences and surrogates, which will cause PHP functions expecting valid UTF-8 strings to fail.

Change History (1)

#1 @desrosj
7 months ago

  • Keywords needs-patch added
  • Milestone changed from Awaiting Review to Future Release

Related: #29717.

Note: See TracTickets for help on using tickets.