Opened 2 years ago

#17780 new enhancement

Use PHP native double encoding prevention in htmlspecialchars()

Reported by: nbachiyski Owned by:
Priority: low Milestone: Future Release
Component: General Version:
Severity: minor Keywords: needs-patch
Cc:

Description

Since PHP 5.2.3 the htmlspecialchars() function has an optional $double_encode parameter, which we could use. This can save us a few expensive kses/html decoding calls.

We need to make sure it works the same way as our implementation.

Change History (0)

Note: See TracTickets for help on using tickets.