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

AbstractMarkupParser.removeComment() goes in endless loop when the comment is multi line

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5-RC3
    • 1.5-RC4
    • wicket
    • None

    Description

      A markup like:
      <!--[if lt IE 8 ]>
      <style></style>
      <script src="js/ie7.js"></script>
      <![endif]-->

      and the application is configured with: getMarkupSettings().setStripComments(true);

      makes AbstractMarkupParser#removeComment(String) to enter in endless loop.

      Attachments

        1. WICKET-3648.patch
          3 kB
          Martin Tzvetanov Grigorov

        Issue Links

          Activity

            People

              mgrigorov Martin Tzvetanov Grigorov
              mgrigorov Martin Tzvetanov Grigorov
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: