Skip to content
This repository has been archived by the owner on Jan 1, 2022. It is now read-only.

File extension parsing is case-sensitive #21

Closed
Micraow opened this issue Aug 27, 2020 · 1 comment · Fixed by #22
Closed

File extension parsing is case-sensitive #21

Micraow opened this issue Aug 27, 2020 · 1 comment · Fixed by #22
Labels
bug Something isn't working

Comments

@Micraow
Copy link

Micraow commented Aug 27, 2020

文件预览对文件后缀的大小写敏感!
我的目录下有四个文件。
1.jpg
1.JPG
1.png
1.PNG

我发现只有
1.jpg
1.png
这两项可以预览出来,另外两个后缀是大写的文件就无法预览,虽然他们的图标显示的和小写后缀的文件的图标是一样的,但是我却无法预览他们,只会直接下载。
我一开始以为这个是一个还没有做出来的新功能,接着我发现这其实是一个bug。

@LufsX
Copy link
Contributor

LufsX commented Aug 27, 2020

改下就行了~

image

不过这样的话, .PnG.pNG.PNg 还是不兼容(我想没人这样写吧

@spencerwooo spencerwooo added the bug Something isn't working label Aug 27, 2020
@spencerwooo spencerwooo changed the title 文件预览有问题 File extension parsing is case-sensitive Aug 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants