"Applied fix from trunk for revision: 1850685"
------------------------------------------------------------------------ r1850685 | jleroux | 2019-01-07 21:37:10 +0100 (lun. 07 janv. 2019) | 8 lignes 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/branches/release18.12@1850686 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