CryptoMapper does not work for applications having a home page that needs query
parameters
------------------------------------------------------------------------------------------
Key: WICKET-4345
URL: https://issues.apache.org/jira/browse/WICKET-4345
Project: Wicket
Issue Type: Bug
Components: wicket
Affects Versions: 1.5.3
Environment: Windows7, IE8
Reporter: Vincent MATHON
CryptoMapper.decryptUrl() should not return null for requests like
http://myhost/MyApplication/app/?param=xx
As a possible fix one can replace
if (encryptedUrl.getSegments().isEmpty() &&
encryptedUrl.getQueryParameters().isEmpty()) {
return encryptedUrl;
}
with
if (encryptedUrl.getSegments().isEmpty()) {
return encryptedUrl;
}
but I suspect that the original test is intended to answer to another use
case...
--
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