mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-05 20:57:40 +00:00
GUACAMOLE-839: Fix check for lack of request headers (may be null).
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user