cloudreve / Cloudreve

🌩支持多家云存储的云盘系统 (Self-hosted file management and sharing system, supports multiple storage providers)
https://cloudreve.org
GNU General Public License v3.0
21.99k stars 3.44k forks source link

请问 lastRawExts 字段在上下文中起到了什么作用? #2105

Closed PublicPwd closed 3 months ago

PublicPwd commented 3 months ago

上下文中只被引用了一次,看起来像是用于避免二次解析 exts,但是比较差异后,没有被赋为新的值 https://github.com/cloudreve/Cloudreve/blob/3edb00a6484cef08692245cbbd41421d76ad32e5/pkg/thumb/vips.go#L20-L30 https://github.com/cloudreve/Cloudreve/blob/3edb00a6484cef08692245cbbd41421d76ad32e5/pkg/thumb/ffmpeg.go#L21-L31 https://github.com/cloudreve/Cloudreve/blob/3edb00a6484cef08692245cbbd41421d76ad32e5/pkg/thumb/libreoffice.go#L21-L31

HFO4 commented 3 months ago

感谢反馈,是一个bug