Details
Description
When redirecting to an external url using RedirectToUrlException, org.apache.wicket.protocol.http.servlet.ServletWebResponse.encodeRedirectURL() changes the location. Decodes the parameters but encode does not give the same result.
SAMLv2 (opensaml) generates authentication request and signs it, IDP fails to validate signature as parameters have changed. Example:
ServletWebResponse .encodeRedirectURL() changes it to:
diff where change was created:
http://grepcode.com/file_/repo1.maven.org/maven2/org.apache.wicket/wicket-core/6.16.0/org/apache/wicket/protocol/http/servlet/ServletWebResponse.java/?v=diff&id2=6.15.0
Attachments
Attachments
Issue Links
- is broken by
-
WICKET-5582 ServletWebResponse#encodeUrl() makes absolute Urls relative
- Closed