Repository navigation
Commit 2dc8dcb
committed
fix(sandbox): support symlinked SSH dirs and canonicalize test candidates
Compare os.Stat instead of os.Lstat during SSH root directory walk so
symlinked directory roots match root.Stat without failing closed as
unexpected replacements. Canonicalize both entry and target in denyCovered
to correctly handle macOS /private/var and Windows 8.3 short-path aliases.
Refs #8151 parent ac80d1f commit 2dc8dcb
2 files changed
Lines changed: 9 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
15 | 18 | | |
16 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
17 | 24 | | |
18 | 25 | | |
19 | 26 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
| 130 | + | |
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
| |||
0 commit comments