MarkupParser falls into an infinite loop trying to parse a 'conditional script
include'
---------------------------------------------------------------------------------------
Key: WICKET-3505
URL: https://issues.apache.org/jira/browse/WICKET-3505
Project: Wicket
Issue Type: Bug
Components: wicket-core
Affects Versions: 1.4.16
Reporter: Roman Puchkovskiy
Markup of our page contains the following code in its <head> tag:
<!--[if lte IE 7]>
<script wicket:id="json-lib" type="text/javascript"
src="js/json2.js"></script>
<![endif]-->
When configuration=development this works fine. When configuration=production,
parser tries to eliminate HTML comments and freezes in an infinite loop in
MarkupParser.removeComment().
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira