aonez / aonez/Keka

[BUG] Finder file types corrupted?

未关闭
#1,000 1 条评论 0 个 reaction 已指派 1 人 已被 @aonez 认领 在 GitHub 查看
Apple SDK bug
主要语言
PHP
星标
7.3k
派生
294
平均合并
14 天 16 小时
30 天内合并 PR
1

描述

### Configuration
- Keka version: Version 1.2.50 (4808)
- macOS version: 11.6.2 (20G314)

### Describe the bug
When creating large 7z archives with split files, the first 3 volumes of the 7z archive (001 through 003) are identified as "Keka app Document" and every split file number larger than 049 is listed as "Generic Archive Volume" instead of "Split File". Additionally, when searching for the files, every archive is identified as a "RAR Archive".

Attach a log file reproducing the issue:
[Keka_2021-12-26-170743955.log](https://github.com/aonez/Keka/files/7777720/Keka_2021-12-26-170743955.log)

### To Reproduce
Steps to reproduce the behavior:
1. Select something to encrypt
2. Chose 7z encryption and set it to split the archive. (For testing, I split at floppy size, but this occured initially with DL DVD size.)
3. Wait….
4. Split files are are identified as "Keka app Document" for files 001-003, split files 004 through 049 are identified as "Split File", and files 050 and higher are identified as "Generic Archive Volume".
5. All files are identified as "RAR Archive" when using search with Finder.

### Expected behavior
I expect the first volume to be identified as "7z Archive" or something similar, all split files to be identified as "Split File", or even better, "7z Split File" and for the Search function results to indicate the proper file type, not "RAR Archive", unless it is a RAR archive.

### Additional context
I haven't tested with other compression types, but testing the archives with 7zz indicates that they are valid archives with no errors.
![file types at begining](https://user-images.githubusercontent.com/3538848/147422871-243e85e9-b615-439e-a0a3-2a69f2bf8e33.jpg)
![file types above 049](https://user-images.githubusercontent.com/3538848/147422874-e89eeac0-04b7-4917-9890-8f23591920b3.jpg)
![search result](https://user-images.githubusercontent.com/3538848/147422563-3688408a-5e6c-4230-a3b6-0b86842d164d.jpg)
![7zz test](https://user-images.githubusercontent.com/3538848/147422568-6ea0bb75-437b-4f78-9351-b13adf31247a.jpg)

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。