dbeaver/pro#3833 fix bug with "null" origin header (#4395)

Co-authored-by: MashaKorax <84867187+MashaKorax@users.noreply.github.com>
This commit is contained in:
Alexander Skoblikov
2026-06-30 18:27:18 +02:00
committed by GitHub
co-authored by MashaKorax
parent d4d9081936
commit 927184e009
@@ -303,6 +303,10 @@ public class ServletAppUtils {
if (log.isTraceEnabled()) {
log.trace("Origin header: " + origin);
}
if ("null".equals(origin)) {
//strange identity provider bug
origin = null;
}
if (CommonUtils.isEmpty(origin)) {
origin = request.getHeader(HEADER_X_ORIGIN);
if (log.isTraceEnabled()) {