[
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