Commit f3edaa3
committed
Make more test repos with traversal-attempting blob names
The approach in make_traverse_literal_slases.sh works about equally
well for any top level file with strange characters. Before, it was
only generating such repositores where the filename has slashes,
causing traversal on all platforms. This has is generate two more
repositories, with backslashes instead of slashes. That script's
name is accordingly updated to make_traverse_literal_separators.sh.
Note that while such names with backslashes may be blocked on
multiple systems under various circumstances, they will only
perform traversal on Windows.1 parent 6f44aca commit f3edaa3
File tree
1 file changed
+9
-1
lines changed- gix-worktree/tests/fixtures
1 file changed
+9
-1
lines changedLines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | 30 | | |
32 | 31 | | |
33 | 32 | | |
34 | 33 | | |
35 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
0 commit comments