Skip to content

Comments

fix: If the file name contains "#", the selection will not be displ...#9430

Open
bintocher wants to merge 1 commit intoAlistGo:mainfrom
bintocher:bintocher/issue-9361
Open

fix: If the file name contains "#", the selection will not be displ...#9430
bintocher wants to merge 1 commit intoAlistGo:mainfrom
bintocher:bintocher/issue-9361

Conversation

@bintocher
Copy link

Summary

修复文件名包含 "#" 字符时无法正常显示的问题。通过添加 URL 路径解码,确保特殊字符被正确处理。

Issue

Fixes #9361

Changes

  • parsePath 函数中添加 url.PathUnescape 调用,解码 URL 编码的文件路径
  • 移除过时的 TODO 注释(功能已实现)

Testing

  • 验证包含 "#" 字符的文件名现在可以正常选择和下载
  • URL 编码的特殊字符(如 %23、%20 等)被正确解码处理

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

If the file name contains "#", the selection will not be displayed.

1 participant