Skip to content

[Feature] The error message shown when the archive password is incorrect is confusing and hard to understand. We hope to improve it #9639

@vxmj

Description

@vxmj

1Panel Version

v2.0.5

Please describe your needs or suggestions for improvements

在使用 1Panel 解压带密码的压缩包(如 .zip 或 .gz)时,如果输入错误密码,系统提示为:
服务内部错误: gzip: invalid header
这容易误导用户,以为是压缩文件本身损坏或系统故障,而不是密码错误。

Please describe the solution you suggest

希望能在检测到密码错误时,给予更准确的提示信息,例如:解压失败:密码错误
这样可以大大提升用户体验,减少误判问题来源。

Additional Information

No response

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions