From a3d1ba0047b5971ef2195eead903b90cea6b2760 Mon Sep 17 00:00:00 2001 From: rusefillc Date: Sun, 4 Oct 2020 13:14:45 -0400 Subject: [PATCH] SignatureHelper --- .../shared_io/src/main/java/com/rusefi/SignatureHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java_console/shared_io/src/main/java/com/rusefi/SignatureHelper.java b/java_console/shared_io/src/main/java/com/rusefi/SignatureHelper.java index 1393a09a7e..6860fb7594 100644 --- a/java_console/shared_io/src/main/java/com/rusefi/SignatureHelper.java +++ b/java_console/shared_io/src/main/java/com/rusefi/SignatureHelper.java @@ -17,7 +17,7 @@ public class SignatureHelper { public static final char SLASH = '/'; public static Pair getUrl(String signature) { - if (!signature.startsWith(PREFIX)) + if (signature == null || !signature.startsWith(PREFIX)) return null; signature = signature.substring(PREFIX.length()).trim(); String[] elements = signature.split("\\.");