You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Roman Puchkovskiy (JIRA)" <ji...@apache.org> on 2011/03/04 16:51:37 UTC

[jira] Created: (WICKET-3505) MarkupParser falls into an infinite loop trying to parse a 'conditional script include'

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

        

[jira] Resolved: (WICKET-3505) MarkupParser falls into an infinite loop trying to parse a 'conditional script include'

Posted by "Martin Grigorov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-3505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Grigorov resolved WICKET-3505.
-------------------------------------

    Resolution: Duplicate

Duplicate of WICKET-3500

> 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
>              Labels: parser
>
> 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