Fixed: Remove _PREVIOUS_REQUEST_ Session Attribute on non-authentication pages
Demo content website cmssite/cms could not be accessed because in this case
requestUri is null. Like login request it does not need auth, I did not dig
further, here is a simple fix.
@@ -629,7 +629,7 @@ public final class RequestHandler {
requestMap = ccfg.getRequestMapMap().get("ajaxCheckLogin");
}
}
- } else {
+ } else if (requestUri != null) {
String[] loginUris = EntityUtilProperties.getPropertyValue("security", "login.uris", delegator).split(",");
boolean removePreviousRequest = true;
for (int i = 0; i < loginUris.length; i++) {
