mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-09-24 16:04:36 +08:00
CB-2180 Cookie determine fix + DS loading fix
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user