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

Email notifications in Forms is escaping text twice, so html entities are displayed instead

    Details

      Description

      Email notifications in Forms is escaping text twice, so HTML entities are displayed instead of the problematic characters.

      The problematic characters are: &, <, >, " and '

      Steps to reproduce

      1. Create a form with a text field
      2. Configure email notification from kebab menu inside the form with a valid email
      3. Create a page and add the form to it
      4. Fill in the form field with following characters: &, <, >, " and '
      5. An email is sent to configured email:
        • Wrong behavior: In email, HTML escaped entities are displayed instead of characters, for example & amp; & lt; or & gt; instead of &
        • Correct behavior: In email, characters are displayed correctly

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              harry.chai Harry Chai
              Reporter:
              jorge.diaz Jorge Diaz
              Participants of an Issue:
              Recent user:
              Brian Wulbern
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                2 years, 44 weeks ago

                  Packages

                  Version Package
                  7.0.0 DXP FP40
                  7.0.0 DXP SP7
                  7.0.5 CE GA6
                  7.0.X
                  7.1.0 M1
                  7.1.X
                  Master