mirror of
https://github.com/KokaKiwi/BarInsta
synced 2025-11-21 05:16:31 +00:00
fix #269
This commit is contained in:
parent
ecc60cc0cd
commit
ce2a74554e
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue