支持隐藏文件夹与文件 #22
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
inactive
invalid
question
solved
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: SomeBottle/OdIndex#22
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "zanjie1999/master"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
写了一个功能,你看看有没有必要合进去,这样可以存放一些公开发布的文件以供下载,但不能被全部爬走
如果文件名或目录名以"."开头,比如".config",这个文件或目录就不会出现在列表中,但是可以直接以完整的文件名打开
当一个目录的文件名为"."开头,那将不允许浏览这个目录内的文件列表(返回Access denied),但是如果拥有完整的路径,文件依然可以访问,举例:
/media/.video/2023/1.mp4
可以浏览/media中的内容,但.video文件夹不会出现
/media/.video和/media/.video/2023的文件列表不可以被浏览(返回Access denied)
访问/media/.video/2023/1.mp4可以正常的下载文件
经典unix哲学之bug提升到feature https://unix.stackexchange.com/questions/88875/why-are-filenames-that-start-with-a-dot-hidden-can-i-hide-files-without-using-a
看上去还不错,不过还得测试一下看看会不会和别的地方起冲突。
经典用404伪装403
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.