kkFileView icon indicating copy to clipboard operation
kkFileView copied to clipboard

针对download类型的url下载文件名识别有误

Open net21 opened this issue 3 years ago • 2 comments

比如一个服务的文件下载URL:http://xxx/download?name=abc.txt 在浏览器中访问是直接下载文件的, 但是通过预览识别出来类型是download,所以类型识别错误。

net21 avatar Aug 27 '21 09:08 net21

package cn.keking.utils;下的WebUtils.encodeUrlFileName方法,第一行代码碰到你这样的情况有bug

Yangshuixiang avatar Sep 29 '21 02:09 Yangshuixiang

@net21 https://github.com/kekingcn/kkFileView/pull/312/commits/499bc839b86da7cfc44d59222cd2e54d182910d7

TosakaWolf avatar Dec 01 '21 06:12 TosakaWolf