-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Why is this blocked? This is a completely valid filename. It prevented me from transferring a folder because it had some file in it which I named something like
Database export with some test data (users, posts, comments, ...) platformname.sql
, and I'm sure there are other legitimate reasons to have..
in the file name.If you're trying to prevent path traversal, wouldn't be checking if a file name equals
..
be enough?