htmlcompressor icon indicating copy to clipboard operation
htmlcompressor copied to clipboard

html compressor issues with URLencoded hidden variable inside a FORM

Open GoogleCodeExporter opened this issue 10 years ago • 0 comments

What steps will reproduce the problem?
1.Have a URL encoded String in a hidden variable inside a form
2.Wrap the above code within a JSP inside the html tag like: <compress:html 
enabled="true" removeComments="true" compressJavaScript="true">
3.Run the JSP and you will notice the above URL encoded hidden variable is 
changed after the compression. i.e you will see spaces within the hidden value 
rather than the html equivalent (%26)

What is the expected output? What do you see instead?

URL encoded String in a hidden variable inside a form shouldn't change after 
the html compression.

What version of the product are you using? On what operating system?
1.5.2 and the OS is Linux

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 22 May 2012 at 6:34

GoogleCodeExporter avatar Nov 27 '15 21:11 GoogleCodeExporter