This commit is contained in:
Austin Huang 2020-11-13 18:44:33 -05:00
parent ecc60cc0cd
commit ce2a74554e
No known key found for this signature in database
GPG Key ID: 84C23AA04587A91F
1 changed files with 1 additions and 1 deletions

View File

@ -176,7 +176,7 @@ public final class DownloadUtils {
Pattern.matches("[a-zA-Z_0-9.\\-()%]+", filename)) {
int dotPos = filename.lastIndexOf('.');
if (0 <= dotPos) {
return filename.substring(dotPos + 1);
return filename.substring(dotPos);
}
}
}