[buddypress-trac] [BuddyPress Trac] #5694: Issue with the ampersand character in members search

buddypress-trac noreply at wordpress.org
Wed Aug 6 19:40:36 UTC 2014


#5694: Issue with the ampersand character in members search
----------------------------------------+------------------
 Reporter:  dontdream                   |       Owner:
     Type:  defect (bug)                |      Status:  new
 Priority:  normal                      |   Milestone:  2.1
Component:  Members                     |     Version:
 Severity:  normal                      |  Resolution:
 Keywords:  needs-unit-tests has-patch  |
----------------------------------------+------------------
Changes (by imath):

 * keywords:  needs-unit-tests needs-patch => needs-unit-tests has-patch


Comment:

 Replying to [comment:5 DJPaul]:
 > Also, not sure why you've added `esc_html`

 In Activity table '&' are stored '&', so we need a function to encode
 & to & {{{esc_html()}}} does it, {{{htmlentities2()}}} is also doing,
 i've updated the patch this way in 5694.02.patch.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5694#comment:6>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list