GUACAMOLE-839: Merge check for lack of request headers (may be null).

This commit is contained in:
Virtually Nick authored and GitHub committed 2025-04-10 06:25:05 -04:00
commit f4209bec74
1 file changed
+1 -1
@@ -133,7 +133,7 @@ public class SSLClientAuthenticationResource extends SSOResource {
private String getHeader(HttpHeaders headers, String name) {
List<String> values = headers.getRequestHeader(name);
if (values.isEmpty())
if (values == null || values.isEmpty())
return null;
return values.get(0);