From 8f3172e4f6590a4df07185b1bf7cbb5d362aeb73 Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Thu, 16 Sep 2021 19:21:32 -0700 Subject: [PATCH] GUACAMOLE-1218: Allow both lowercase and uppercase for hex values of ByteArrayProperty. --- .../java/org/apache/guacamole/properties/ByteArrayProperty.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guacamole-ext/src/main/java/org/apache/guacamole/properties/ByteArrayProperty.java b/guacamole-ext/src/main/java/org/apache/guacamole/properties/ByteArrayProperty.java index 98aaa26d6..f9974acff 100644 --- a/guacamole-ext/src/main/java/org/apache/guacamole/properties/ByteArrayProperty.java +++ b/guacamole-ext/src/main/java/org/apache/guacamole/properties/ByteArrayProperty.java @@ -39,7 +39,7 @@ public abstract class ByteArrayProperty implements GuacamoleProperty { // Return value parsed from hex try { - return BaseEncoding.base16().decode(value); + return BaseEncoding.base16().decode(value.toUpperCase()); } // Fail parse if hex invalid