Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-10388

Template engine should use json_encode() to properly escape JS properties

    XMLWordPrintable

    Details

      Description

      Currently the template engine (and other places) use addslashes() to escape data which is to be used in javascript, this is a poor solution and json_encode() should be employed to do the escaping.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Marc Marc
              Reporter:
              ToonArmy ToonArmy [X] (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: