<!-- Here is for bug reports and feature requests ONLY! If you're looking for help, please check our mail list、WeChat group and the Gitter room. Please try to use English to describe your issue, or at least provide a snippet of English translation. 我们鼓励使用英文,如果不能直接使用,可以使用翻译软件,您仍旧可以保留中文原文。 --> **Describe the bug** Nacos 3.2的Skill中心上传Skill的ZIP压缩包文件后,出现SKILL.md中description等内容丢失。 看了一下Nacos代码发现代码按照换行符分割,只取了一行内容,剩余的内容都丢弃了,且metadata内容也没有提取。并且下载ZIP文件后里面的内容也是丢失内容之后的,不是原ZIP文件。 实际内容如下所示: <img width="1107" height="304" alt="Image" src="https://github.com/user-attachments/assets/6e249c55-5ade-49bc-978b-0e49cadf24f4" /> 上传到Nacos之后内容如下所示: <img width="1147" height="333" alt="Image" src="https://github.com/user-attachments/assets/dedca5b7-283f-4448-8ee9-14087e685a3b" />
Describe the bug
Nacos 3.2的Skill中心上传Skill的ZIP压缩包文件后,出现SKILL.md中description等内容丢失。
看了一下Nacos代码发现代码按照换行符分割,只取了一行内容,剩余的内容都丢弃了,且metadata内容也没有提取。并且下载ZIP文件后里面的内容也是丢失内容之后的,不是原ZIP文件。
实际内容如下所示:
上传到Nacos之后内容如下所示: