Commit 9bc32ef
committed
permission: store resolved path in worker fs allowlist intersection
FilterPathListToParentSubset validated resolved paths but pushed the raw
input into the filtered allowlist. Store ResolveForCompare output so the
checked and granted strings match.
Drop unreachable empty-list fallback gated on w->permission after callers
already force permission true.
Signed-off-by: yunshingng <yunshingng25@gmail.com>1 parent 5b2b378 commit 9bc32ef
1 file changed
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
595 | 595 | | |
596 | 596 | | |
597 | 597 | | |
598 | | - | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
599 | 601 | | |
600 | | - | |
601 | | - | |
602 | 602 | | |
603 | 603 | | |
604 | 604 | | |
| |||
613 | 613 | | |
614 | 614 | | |
615 | 615 | | |
| 616 | + | |
| 617 | + | |
616 | 618 | | |
617 | 619 | | |
618 | | - | |
| 620 | + | |
619 | 621 | | |
620 | 622 | | |
621 | 623 | | |
| |||
0 commit comments