Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Testing Sling Mock 3.0.2
-
None
Description
MockXSSAPIImpl only has a few very simplistic method implementations (i.e. for encodeForHTML it returns the input as-is).
I think we can make some improvements to it, by:
- Use StringEscapeUtils.escapeHtml4() to do HTML escaping (so that we can at least see a difference in the output)
- Use StringEscapeUtils.escapeXml() to do XML escaping
etc.
Attachments
Issue Links
- is related to
-
SLING-12002 sling-mock: Prevent StdOut logging from ESAPI
- Closed
- links to