Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
6.2.10 EE GA1, 7.0.1 CE GA2, Master
-
7.0.x, 6.2.x
-
Committed
-
1
Description
<style type="text/css"> h1:before { content: "<%= HtmlUtil.escapeCSS("'1") %>"; } </style> <h1>Hello World</h1>
Expected result
'1Hello World
Actual result
ɱHello World
The problem is ' is escaped to \27. However, the next character is 1. So you end up with \271, which is different character.
Attachments
Issue Links
- relates
-
LPE-16211 Result of escapeCSS is incorrect if the escaped character is followed by a number
-
- Closed
-