Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
3.1.0-dev
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
- depends on
-
PHPBB3-10389 JSON extension should be checked in the installer
- Closed
- is duplicated by
-
PHPBB3-7582 Add JS_ prefix for tpl vars
- Closed