secureParam = URLDecoder.decode(secureParam, Application.get()
.getRequestCycleSettings().getResponseRequestEncoding());
// Get the crypt implementation from the application
final ICrypt urlCrypt = Application.get().getSecuritySettings().getCryptFactory()
.newCrypt();
// Decrypt the query string
String queryString = urlCrypt.decryptUrlSafe(secureParam);
// The querystring might have been shortened (length reduced).
// In that case, lengthen the query string again.
queryString = rebuildUrl(queryString);
return queryString;