Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG 使用小熊猫IDE创建文件夹时对非法字符的检测不全面 以空格结尾的文件夹会被创建 #496

Open
BakaDream opened this issue Sep 28, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@BakaDream
Copy link

例如我创建一个"123 "的文件夹,是可以被正常创建的
但是无法用windows的资源管理器删除
可能是底层文件系统支持这种文件夹名,但是windows的资源管理器不支持
小熊猫ide只对/\?等非法字符进行了检查,未对空格进行检查
bug发现ide版本2.25.1
实测3.1.2871也会有此bug

@CyanoHao
Copy link
Contributor

提醒:不要尝试在小熊猫C++ 中删除此文件夹。Qt 没有用一致的方式处理路径,因此尝试操作此文件夹可能导致意外的数据损失。

临时解决方案:

  1. 用 Git Bash 或 MSYS2 shell 删除。
  2. 用 cmd 或 PowerShell,通过 UNC 路径删除,如:
    rmdir "\\?\C:\test\123 "

@royqh1979 royqh1979 added the bug Something isn't working label Sep 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants