Commit 467c0f7
committed
fix(presets): stop resolving symlinks in extension manifest candidate path
_extension_manifest_declared_template() resolved ext_dir/rel_path before
returning it, which follows symlinks in ext_dir's ancestors (e.g. macOS's
symlinked tmp dir) and diverges from the unresolved paths convention-based
lookup returns for the same directory. Resolve only for the traversal
containment check; return the unresolved candidate.
Fixes the 4 CI test failures across all OS/Python matrix jobs on #4012.1 parent 0070d25 commit 467c0f7
1 file changed
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5024 | 5024 | | |
5025 | 5025 | | |
5026 | 5026 | | |
| 5027 | + | |
5027 | 5028 | | |
5028 | | - | |
5029 | | - | |
5030 | | - | |
| 5029 | + | |
| 5030 | + | |
| 5031 | + | |
| 5032 | + | |
| 5033 | + | |
| 5034 | + | |
5031 | 5035 | | |
5032 | 5036 | | |
5033 | 5037 | | |
| |||
0 commit comments