You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Robert Munteanu (JIRA)" <ji...@apache.org> on 2017/08/07 10:09:00 UTC

[jira] [Created] (SLING-7033) Use JSON parsing in Sling.evalString

Robert Munteanu created SLING-7033:
--------------------------------------

             Summary: Use JSON parsing in Sling.evalString
                 Key: SLING-7033
                 URL: https://issues.apache.org/jira/browse/SLING-7033
             Project: Sling
          Issue Type: Bug
          Components: Servlets
    Affects Versions: Servlets Post 2.3.20
            Reporter: Robert Munteanu
            Assignee: Robert Munteanu
             Fix For: Servlets Post 2.3.22


The javascript function {{Sling.evalString}} uses {{eval}}, which is probably too wide for what we need. We should use {{JSON.parse}} instead.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)