Vlad Bailescu created SLING-4428:
------------------------------------
Summary: Sightly: scriptComment and styleComment contexts are not
doing anything
Key: SLING-4428
URL: https://issues.apache.org/jira/browse/SLING-4428
Project: Sling
Issue Type: Bug
Reporter: Vlad Bailescu
Priority: Minor
Fix For: XSS Protection API 1.0.0, Scripting Sightly Engine 1.0.0
The Sightly spec defines scriptComment context but in the current
implementation it is not working as expected, as it's treated internally like a
JS token. This needs to be fixed so that the comment context will work as
expected.
The spec will clarify usage of the scriptComment context (it will only be used
for block comments, ie: /*...*/) and will also add styleComment (which will
behave similarly): https://github.com/Adobe-Marketing-Cloud/sightly-spec/pull/12
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)