searchturbine / phpwee-php-minifier

Open-source (BSD) PHP inline minifier functions for HTML, XHTML, HTML5, CSS 1-3 and Javascript. http://searchturbine.com/php/phpwee
Other
79 stars 46 forks source link

querystring values get transformed which breaks parts of the application #28

Open xblabs opened 6 years ago

xblabs commented 6 years ago

?k=38JVI|0|0|3|1|0|a|1

gets transformed to

?k=38JVI%7C0%7C0%7C3%7C1%7C0%7Ca%7C1 which breaks the "pipe" check in the JS parts of the webapp.

How to selectively bypass src and other attributes?

ashucg commented 6 years ago

URL decode: %7C = | you can simply use decodeURIComponent() to decode it if you are getting issues because of encoded string