Commit f5cd336
committed
fix: validate branchOverride to prevent path traversal in worktree creation
Reject absolute paths and values that escape .ralphex/worktrees/ when
--branch override is used as a filesystem path element.1 parent 636fc11 commit f5cd336
1 file changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
279 | 279 | | |
280 | 280 | | |
281 | 281 | | |
282 | | - | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
283 | 290 | | |
284 | 291 | | |
285 | 292 | | |
| |||
0 commit comments