Project

General

Profile

Actions

Bug #7880

closed

Validation rule JSON encoding double escaping

Added by krileon about 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
High
Assignee:
Target version:
Start date:
12 March 2020
Due date:
% Done:

100%

Estimated time:

Description

If add slashes is called on a validation language string with slashes already in the string it double encodes and cancels the encoding. This results in an invalid JSON string which breaks JS when the validation rules are output. The add slashes call is not necessary as we're already encoding to JSON.

https://www.joomlapolis.com/forum/153-professional-member-support/242194-tabs-layout-in-community-builder-is-no-longer-working-showing-up-on-site?start=6

Actions #1

Updated by krileon about 4 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100

Fixed in MR !1535

Actions #2

Updated by beat almost 4 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF