Alexander Schmidt created WICKET-4588:
-----------------------------------------

             Summary: 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: 1.5.7, 6.0.0-beta2
            Reporter: Alexander Schmidt


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

        

Reply via email to