Skip to content

Commit c11ecc9

Browse files
committed
fix(repo): Correct whitelist pattern to deny all globally
Change /* to * in .gitignore to properly implement whitelist approach. The /* pattern only denies root-level items, allowing subdirectory files to be tracked. The * pattern correctly denies all files and directories throughout the repository, ensuring true whitelist behaviour where only explicitly allowed files are tracked. Signed-off-by: Marjo van Lier <marjo.vanlier@gmail.com>
1 parent 6c3fa09 commit c11ecc9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# ========================================
66
# DENY ALL BY DEFAULT
77
# ========================================
8-
/*
8+
*
99

1010
# ========================================
1111
# ALLOW DIRECTORY TRAVERSAL (CRITICAL)

0 commit comments

Comments
 (0)