kalcaddle / kodbox

kodbox is a file manager for web. It is a newly designed product based on kodexplorer. It is also a web code editor, which allows you to develop websites directly within the web browser.You can run kodbox either online or locally,on Linux, Windows or Mac based platforms
https://kodcloud.com
2.18k stars 373 forks source link

Kod Explorer v4.52 外链下载文件时,文件名全部变成index.php或index.zip #248

Closed mazhewei closed 8 months ago

mazhewei commented 8 months ago

印象中近期跳出来过一次安全更新,更新以后出现的,之前是好的。不清楚是否有关联。

kalcaddle commented 8 months ago

是有人提,文件预览或外链文件访问时(pdf,office等文件),会被idm下载软件嗅探拦截.所以去除了header中文件名;

如需要,可以自行加入(取消注释改行即可); https://github.com/kalcaddle/KodExplorer/blob/master/app/function/file.function.php#L1010

mazhewei commented 8 months ago

已经尝试,完美解决,谢谢