Skip to content

Commit 6774335

Browse files
fixed regexp bug, regexp didn't work
1 parent 6c01817 commit 6774335

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/com/cloudinary/Uploader.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ public Map callApi(String action, Map<String, String> params, Map options, Objec
152152
}
153153
}
154154

155-
if (file instanceof String && !((String) file).matches("^https?:")) {
155+
if (file instanceof String && !((String) file).matches("^https?:.*")) {
156156
file = new File((String) file);
157157
}
158158
if (file instanceof File) {

0 commit comments

Comments
 (0)