Skip to content

kei51e/ESAPI-surrogate-encoder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ESAPI-surrogate-encoder

A sample ESAPI XML encoder implementation that can handle Unicode surrogate characters.

Description

It is a sample ESAPI (https://www.owasp.org/index.php/Category:OWASP_Enterprise_Security_API) XML encoder implementation that can handle Unicode surrogate characters. It only covers following 2 APIs

ESAPI.encoder().encodeForXML(String)
ESAPI.encoder().encodeForXMLAttribute(String)

Usage

Compile

mvn package

Test

mvn test

License

Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 Unported License. Use/modify whatever you like :)

About

A simple ESAPI XML encoder that can handle Unicode surrogate characters.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages