kkFileView icon indicating copy to clipboard operation
kkFileView copied to clipboard

zip压缩包使用流文件预览问题

Open hanfeicode opened this issue 1 year ago • 2 comments

zip压缩包使用流文件时,下面子文件预览问题 解析的地址:

https://xxxxx.com/v2/23048&fullfilename=压缩包-v1.zip_/压缩包-v1.docx?kkCompressfileKey=23048&fullfilename=压缩包-v1.zip_

其实应该是:

https://xxxxx.com/v2/23048&fullfilename=压缩包-v1.zip_/谢谢v1.docx?kkCompressfileKey=23048&fullfilename=谢谢v1.docx_

hanfeicode avatar Jan 05 '24 05:01 hanfeicode

是最新源码吗?

gaoxingzaq avatar Jan 05 '24 05:01 gaoxingzaq

对,我刚才看了下,意外解决了。 /server/src/main/resources/web/compress.ftl 55行: 使用节点文件名称:+"&fullfilename="+treeNode.name var path = '${baseUrl}' + treeNode.id + "?kkCompressfileKey=" + '${fileTree}'+"&fullfilename="+treeNode.name;

hanfeicode avatar Jan 05 '24 06:01 hanfeicode