mirror of
https://github.com/KokaKiwi/BarInsta
synced 2024-12-23 13:26:59 +00:00
fix #269
This commit is contained in:
parent
ecc60cc0cd
commit
ce2a74554e
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user