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/06/15 10:57:43 UTC

[jira] [Resolved] (WICKET-4588) non-relative redirects do not work properly

     [ https://issues.apache.org/jira/browse/WICKET-4588?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Grigorov resolved WICKET-4588.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5.8
                   6.0.0-RC1
         Assignee: Martin Grigorov

Fixed!
Thanks!
                
> non-relative redirects do not work properly
> -------------------------------------------
>
>                 Key: WICKET-4588
>                 URL: https://issues.apache.org/jira/browse/WICKET-4588
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 6.0.0-beta2, 1.5.7
>            Reporter: Alexander Schmidt
>            Assignee: Martin Grigorov
>             Fix For: 6.0.0-RC1, 1.5.8
>
>
> wicket-ajax-jquery.js
> in  processAjaxResponse:
> // support/check for non-relative redirectUrl like as provided and needed in a portlet context
> if (redirectUrl.charAt(0) === ('/') || redirectUrl.match("^http://") === "http://" || redirectUrl.match("^https://") === "https://") {
> ==>  match function returns an array !!
> absolute redirect urls like e.g.  'http://www.google.de'  are not recognized

--
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