Skip to:
Content

BuddyPress.org

Opened 18 years ago

Closed 17 years ago

#110 closed defect (bug) (fixed)

Add stripslashes to various places in class BP_XProfile_ProfileData

Reported by: phlux0r Owned by:
Priority: critical Milestone: 1.1
Component: Version:
Severity: Keywords: stripslashes
Cc:

Description

If field values contain escaped characters like apostrophes ' and such, they are displayed with the '\' in the Edit Profile and View Profile pages. Need to add stripslashes() to the places that return the field values.

Change History (6)

#1 @apeatling
18 years ago

  • Milestone Extended Profiles - v0.3Extended Profiles v0.4

#2 @apeatling
18 years ago

  • Resolutionfixed
  • Status newclosed

#3 @(none)
17 years ago

  • Milestone Extended Profiles v0.4

Milestone Extended Profiles v0.4 deleted

#4 @hempsworth
17 years ago

  • Resolution fixed
  • Status closedreopened

I've noticed this appearing in the 'Profile Field Setup' page, when entering apostrophes in 'Drop Down Select Box' items. After they are saved they have '\' infront.

#5 @DJPaul
17 years ago

  • Milestone1.1

This needs to be checked for the v1.1 release. Anyone who patches this needs to apply the stripslashes in the filters and not directly around the variable.

#6 @apeatling
17 years ago

  • Resolutionfixed
  • Status reopenedclosed

(In [1699]) Fixes #110

Note: See TracTickets for help on using tickets.