SignatureHelper
This commit is contained in:
parent
348b387483
commit
a3d1ba0047
|
@ -17,7 +17,7 @@ public class SignatureHelper {
|
|||
public static final char SLASH = '/';
|
||||
|
||||
public static Pair<String, String> 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("\\.");
|
||||
|
|
Loading…
Reference in New Issue