You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2012/05/25 12:18:24 UTC

[jira] [Created] (WICKET-4573) AbstractAjaxTimerBehavior should escape the quotes for the code that it schedules to execute

Martin Grigorov created WICKET-4573:
---------------------------------------

             Summary: AbstractAjaxTimerBehavior should escape the quotes for the code that it schedules to execute
                 Key: WICKET-4573
                 URL: https://issues.apache.org/jira/browse/WICKET-4573
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 1.5.6
            Reporter: Martin Grigorov
            Assignee: Martin Grigorov


The callback script in org.apache.wicket.ajax.AbstractAjaxTimerBehavior#getJsTimeoutCall() may be extended/replaced with user provided one that contains single or double quotes and in the case when double quotes are used they will break the final generated JavaScript for the timer.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (WICKET-4573) AbstractAjaxTimerBehavior should escape the quotes for the code that it schedules to execute

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

Martin Grigorov resolved WICKET-4573.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5.7

Fixed in 1.5.x.
This is already fixed in 6.x
                
> AbstractAjaxTimerBehavior should escape the quotes for the code that it schedules to execute
> --------------------------------------------------------------------------------------------
>
>                 Key: WICKET-4573
>                 URL: https://issues.apache.org/jira/browse/WICKET-4573
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5.6
>            Reporter: Martin Grigorov
>            Assignee: Martin Grigorov
>             Fix For: 1.5.7
>
>
> The callback script in org.apache.wicket.ajax.AbstractAjaxTimerBehavior#getJsTimeoutCall() may be extended/replaced with user provided one that contains single or double quotes and in the case when double quotes are used they will break the final generated JavaScript for the timer.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira