Skip to:
Content

BuddyPress.org

Opened 16 years ago

Closed 15 years ago

#110 closed defect (bug) (fixed)

Add stripslashes to various places in class BP_XProfile_ProfileData

Reported by: phlux0r's profile phlux0r Owned by:
Milestone: 1.1 Priority: critical
Severity: Version:
Component: 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
15 years ago

  • Milestone changed from Extended Profiles - v0.3 to Extended Profiles v0.4

#2 @apeatling
15 years ago

  • Resolution set to fixed
  • Status changed from new to closed

#3 @(none)
15 years ago

  • Milestone Extended Profiles v0.4 deleted

Milestone Extended Profiles v0.4 deleted

#4 @hempsworth
15 years ago

  • Resolution fixed deleted
  • Status changed from closed to reopened

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
15 years ago

  • Milestone set to 1.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
15 years ago

  • Resolution set to fixed
  • Status changed from reopened to closed

(In [1699]) Fixes #110

Note: See TracTickets for help on using tickets.