Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-3505

MarkupParser falls into an infinite loop trying to parse a 'conditional script include'

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 1.4.16
    • None
    • wicket

    Description

      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().

      Attachments

        Activity

          People

            Unassigned Unassigned
            rpuch Roman Puchkovskiy
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: