[Esapi-user] escape some symbols to encode?

ashish kumar gautam gautamashishkumar at gmail.com
Fri Jul 1 03:17:52 EDT 2011


I am Ashish Gautam from NIC Delhi, India

I am using
ESAPI.encoder().encodeForURL("Welcome/NicNet/NiC/CiRt/AdmINistRatOr"). i
want to escape some symbols to encode, these symbols are / and ?.

it is possible or not if yes then how


can i write a code like this

String querystringnew =ESAPI.encoder().encodeForSQL(mysql, "SELECT empcode
FROM emailuser WHERE emailid = ?");

Best regards,
Ashish K. Gautam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.owasp.org/pipermail/esapi-user/attachments/20110701/9080ab24/attachment.html 

More information about the Esapi-user mailing list