update to v1.0.29-release

This commit is contained in:
kohgylw@163.com 2020-05-12 16:58:42 +08:00
parent 04fa3a8bf4
commit 1a6dc78c54
3 changed files with 2 additions and 2 deletions

View File

@ -63,7 +63,7 @@ public class FileChainServiceImpl extends RangeFileStreamWriter implements FileC
String fileName = f.getFileName();
String suffix = "";
if (fileName.indexOf(".") >= 0) {
suffix = fileName.substring(fileName.indexOf(".")).trim().toLowerCase();
suffix = fileName.substring(fileName.lastIndexOf(".")).trim().toLowerCase();
}
String range = request.getHeader("Range");
int status = writeRangeFileStream(request, response, target, f.getFileName(),

View File

@ -1,5 +1,5 @@
#Generated by Maven Integration for Eclipse
#Tue May 12 16:54:24 CST 2020
#Tue May 12 16:58:12 CST 2020
version=1.0.29-RELEASE
groupId=kohgylw
m2e.projectName=kiftd