CB-2180 Cookie determine fix + DS loading fix

This commit is contained in:
serge-rider
2022-06-29 12:53:05 +02:00
parent afb2f8249f
commit 6d88719ac4
@@ -145,11 +145,12 @@ public class WebAppUtils {
}
public static String getRequestCookie(HttpServletRequest request, String cookieName) {
String value = null;
for (Cookie cookie : request.getCookies()) {
if (cookie.getName().equals(cookieName)) {
return cookie.getValue();
value = cookie.getValue();
}
}
return null;
return value;
}
}