[ https://issues.apache.org/jira/browse/SLING-11833?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James Raynor updated SLING-11833: --------------------------------- Description: Edit the content on page: [http://localhost:8080/bin/browser.html/apps/reference/components/pages/base/base.jsp] then test it on page: [http://localhost:8080/content/apache/sling-apache-org/index.html] The test results are shown in the picture. Double quotes within the page are escaped, but in previous versions (e.g. 0.16.2) it was ok and there was no such problem. __________________________________________________________________________________________________________________________________ 2023-04-20 update: "&&", "<", ">" also doesn't work anymore, e.g: if (result.data != null && result.data != '' && result.exist == 'true') if (result.data != null && result.data != '' & amp;& amp; result.exist == 'true') was: Edit the content on page: [http://localhost:8080/bin/browser.html/apps/reference/components/pages/base/base.jsp] then test it on page: [http://localhost:8080/content/apache/sling-apache-org/index.html] The test results are shown in the picture. Double quotes within the page are escaped, but in previous versions (e.g. 0.16.2) it was ok and there was no such problem. __________________________________________________________________________________________________________________________________ 2023-04-20 update: "&&", "<", ">" also doesn't work anymore, e.g: if (result.data != null && result.data != '' && result.exist == 'true') if (result.data != null && result.data != '' && result.exist == 'true') > The double quotes in the page js are escaped and cannot run js > -------------------------------------------------------------- > > Key: SLING-11833 > URL: https://issues.apache.org/jira/browse/SLING-11833 > Project: Sling > Issue Type: Bug > Components: App CMS > Affects Versions: App CMS 1.1.2 > Reporter: James Raynor > Priority: Major > Attachments: 2023-04-19--09-56-41.png > > > Edit the content on page: > [http://localhost:8080/bin/browser.html/apps/reference/components/pages/base/base.jsp] > then test it on page: > [http://localhost:8080/content/apache/sling-apache-org/index.html] > The test results are shown in the picture. > Double quotes within the page are escaped, but in previous versions (e.g. > 0.16.2) it was ok and there was no such problem. > __________________________________________________________________________________________________________________________________ > 2023-04-20 update: > "&&", "<", ">" also doesn't work anymore, e.g: > if (result.data != null && result.data != '' && result.exist == 'true') > if (result.data != null && result.data != '' & amp;& amp; > result.exist == 'true') -- This message was sent by Atlassian Jira (v8.20.10#820010)