Make WordPress Core

Opened 8 years ago

Last modified 5 years ago

#38044 new defect (bug)

Make seems_utf8() RFC 3629 compliant.

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

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
5 years ago

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

Related: #29717.

Note: See TracTickets for help on using tickets.