Austin Huang
4 years ago
No known key found for this signature in database
GPG Key ID: 84C23AA04587A91F
1 changed files with
1 additions and
1 deletions
-
app/src/main/java/awais/instagrabber/utils/DownloadUtils.java
|
@ -176,7 +176,7 @@ public final class DownloadUtils { |
|
|
Pattern.matches("[a-zA-Z_0-9.\\-()%]+", filename)) { |
|
|
Pattern.matches("[a-zA-Z_0-9.\\-()%]+", filename)) { |
|
|
int dotPos = filename.lastIndexOf('.'); |
|
|
int dotPos = filename.lastIndexOf('.'); |
|
|
if (0 <= dotPos) { |
|
|
if (0 <= dotPos) { |
|
|
return filename.substring(dotPos + 1); |
|
|
|
|
|
|
|
|
return filename.substring(dotPos); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|