This repository has been archived by the owner on Jul 3, 2024. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
写了一个功能,你看看有没有必要合进去,这样可以存放一些公开发布的文件以供下载,但不能被全部爬走
如果文件名或目录名以"."开头,比如".config",这个文件或目录就不会出现在列表中,但是可以直接以完整的文件名打开
当一个目录的文件名为"."开头,那将不允许浏览这个目录内的文件列表(返回Access denied),但是如果拥有完整的路径,文件依然可以访问,举例:
/media/.video/2023/1.mp4
可以浏览/media中的内容,但.video文件夹不会出现
/media/.video和/media/.video/2023的文件列表不可以被浏览(返回Access denied)
访问/media/.video/2023/1.mp4可以正常的下载文件