Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
hanfeicode opened this issue Jan 5, 2024 · 2 comments
Open

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

hanfeicode opened this issue Jan 5, 2024 · 2 comments

Comments

@hanfeicode
Copy link

hanfeicode commented Jan 5, 2024

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_

@gaoxingzaq
Copy link
Contributor

是最新源码吗?

@hanfeicode
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants