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

WordPress Trac noreply at wordpress.org
Thu Jun 18 23:48:16 UTC 2015


#17780: Use PHP native double encoding prevention in htmlspecialchars()
-------------------------+--------------------------
 Reporter:  nbachiyski   |       Owner:  miqrogroove
     Type:  enhancement  |      Status:  reopened
 Priority:  normal       |   Milestone:  4.3
Component:  Formatting   |     Version:  3.2.1
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:
-------------------------+--------------------------

Comment (by netweb):

 Replying to [comment:18 miqrogroove]:
 > Test results from @netweb showed that prior to PHP 5.4, the
 $double_encode parameter does not perform entity validation.
 Here's the Travis-CI build: https://travis-
 ci.org/aaronjorbin/develop.wordpress/builds/67442185
 * PHP 5.2 Job -> https://travis-
 ci.org/aaronjorbin/develop.wordpress/jobs/67442187
 * PHP 5.3 Job -> https://travis-
 ci.org/aaronjorbin/develop.wordpress/jobs/67442188

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


More information about the wp-trac mailing list