Fixed: Impossible secure and autologin cookie names when mountpoint contains a
slash inside its name (OFBIZ-10766) When you set a mountpoint which contains a slash inside its name (ie not only a slash as a trailer, which is possible), as it's needed with OFBIZ-10765, OFBiz tries to create a cookie with a slash in its name and that's impossible git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1850530 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;
|
||||
return appName.replaceAll("/","_");
|
||||
}
|
||||
|
||||
public static void setInitialRequestInfo(HttpServletRequest request) {
|
||||
|
||||
Reference in New Issue
Block a user