[buddypress-trac] [BuddyPress] #2776: Most content is double-escaped in the database

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Sun Dec 5 00:05:29 UTC 2010


#2776: Most content is double-escaped in the database
--------------------+-------------------------------------------------------
 Reporter:  DJPaul  |       Owner:     
     Type:  defect  |      Status:  new
 Priority:  major   |   Milestone:  1.3
Component:  Core    |     Version:     
 Keywords:          |  
--------------------+-------------------------------------------------------

Comment(by DJPaul):

 xprofile-1 address double-escaping of data in the database throughout the
 xprofile component.
 This patch also has fixes for #2694 and #2777 as they are related. It also
 reverts [3509] #2283 as the issue is best addressed when data is put into
 the database, rather than on output.

 I have tested it a lot and it seems to work as expected, both in the
 database as well as in the front-end and admin UIs. I have not tested the
 impact of the patch on existing xprofile data; search will not work on
 previously-escaped characters, such as apostrophes, but we need to check
 if we get any slashes output on the front-end and admin UIs. If so, we may
 need to (re)add extra stripslashes() to maintain this backwards
 compatibility.

-- 
Ticket URL: <http://trac.buddypress.org/ticket/2776#comment:6>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list