Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-34736

Double escaping in BaseSocialActivityInterpreter when using JSONValue

    Details

      Description

      When an interpreter uses the getJSONValue() method from BaseSocialActivityInterpreter to get the title but doesn't override wrapLink() or the other methods, the value gets escaped twice because getJSONValue() escapes it once and then wrapLink again.

      Since we should escape at the latest possible moment, getJSONValue() should return the untouched value.

        Attachments

          Activity

            People

            Assignee:
            brian.chan Brian Chan
            Reporter:
            zsolt.berentey Zsolt Berentey (Inactive)
            Participants of an Issue:
            Recent user:
            Esther Sanz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              8 years, 1 week, 6 days ago

                Packages

                Version Package
                6.1.30 EE GA3
                6.2.0 CE M5