Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-10388

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

XMLWordPrintable

      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.

            Marc Marc
            ToonArmy Chris Smith
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: