URL encoding in java does not work for me -


I leave the application request in the HTTP request feature and I get value as below

  string parametervalue = ESAPI.encoder (). Encoder HTML Attribute (request.getParameter (parameterName));  

Even after encoding the value I am getting the following value which is wrong:

  Skip> # x20; ApplicationForm  

I have to remove extra characters and pass only the necessary one, in this case, leave this application

I have Also tried

  URLNcoder.xcode (RequestActiveValue, "UTF-8")  

But still I get a similar value with some junk characters is.

Please help me solve it.

Thanks


Comments