serg472 / htmlcompressor

HTML Compressor and Minifier, can be used standalone and as a Java library
Apache License 2.0
40 stars 15 forks source link

html compressor issues with URLencoded hidden variable inside a FORM #73

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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 mathew.a...@gmail.com on 22 May 2012 at 6:34