Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.3.1.2
-
JRE/JDK 1.6.30, Tomcat 7.0
-
Patch, Important
Description
Struts depends on old version of commons-lang package (2.5).
This package contains class StringEscapeUtils, which contains escapeHtml method.
This method escapes cyrillic symbols too.
(In new version commons-lang, which contains escapeHtml3 and escapeHtml4 methods cyrillic not escapes)
So if I use tags like <s:property value="foo" escapeHtml="true"/> I get html-content with escaped sequence of char like &8231;&1233;&1234 and so on.
It's makes response body too large for russian-languaged sites.