[wp-trac] [WordPress Trac] #17780: Use PHP native double encoding prevention in htmlspecialchars()

WordPress Trac noreply at wordpress.org
Sat May 23 23:09:53 UTC 2015


#17780: Use PHP native double encoding prevention in htmlspecialchars()
-------------------------------------------------+-------------------------
 Reporter:  nbachiyski                           |       Owner:
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Future
Component:  Formatting                           |  Release
 Severity:  normal                               |     Version:  3.2.1
 Keywords:  needs-patch dev-feedback needs-      |  Resolution:
  unit-tests                                     |     Focuses:
-------------------------------------------------+-------------------------

Comment (by miqrogroove):

 Added some basic unit tests.  Take note of some quirks in the existing
 non-double-encoding mode:  KSES normalizes the number of digits in numeric
 references and is currently not HTML5 compatible.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/17780#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list