Opened 6 years ago

Last modified 5 years ago

#1648 new bug

Slashes swallowed when updating profile data

Reported by: planetcruiser Owned by:
Priority: minor Milestone: unassigned
Component: BW Profile Keywords: easy
Cc:

Description

Issue:

  • All textareas (i.e. "Profile Summary" or "I Live With") don't handle backslashes in front of single quotes well:
    • \' becomes ' after saving
    • \\\\\\\' also becomes ' after saving

Solution:

  • Save information as typed in by the user, so always keep the backslashes

Clues:

  • Other text fields (not textarea) save information as expected, compare data handling and display there

Related ticket:

  • #1279 (see fixes in commits)

Urgency:

  • Not urgent, because it's very unlikely that someone needs \' in their profile ;)

Change History (3)

comment:1 Changed 5 years ago by jsfan

  • Milestone Future deleted

Milestone Future deleted

comment:2 Changed 5 years ago by planetcruiser

  • Keywords easy added
  • Milestone set to unassigned

comment:3 Changed 5 years ago by shevek

Some fields (like the verification comment) do it the other way round: They add a \ in front of a '.

Note: See TracTickets for help on using tickets.