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

WordPress Trac noreply at wordpress.org
Thu Jun 4 13:14:11 UTC 2015


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

Comment (by miqrogroove):

 Replying to [comment:11 azaozz]:
 > Seems like at the time (and maybe still) `_wp_specialchars()` is getting
 double encoded strings and is expected to return single encoded.

 That would be a significant bug in itself and I am very skeptical of it.

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


More information about the wp-trac mailing list