Fixed: Impossible secure and autologin cookie names when mountpoint contains a
slash inside its name (OFBIZ-10766) My previous commit was wrong this one fixes it. I made a mistake trying to generalise changing UtilHttp::getApplicationName. This method is used in other places where the name should not be changed. Only cookies are concerned. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1850685 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -668,7 +668,7 @@ public final class UtilHttp {
|
||||
if (request.getContextPath().length() > 1) {
|
||||
appName = request.getContextPath().substring(1);
|
||||
}
|
||||
return appName.replaceAll("/","_");
|
||||
return appName;
|
||||
}
|
||||
|
||||
public static void setInitialRequestInfo(HttpServletRequest request) {
|
||||
|
||||
Reference in New Issue
Block a user