Repository navigation
Commit 7552be3
committed
fix: deny exec-create and pause paths when their env vars are unset
EXEC=0 documented as covering /containers/{id}/exec but the template
only gated paths starting with /exec, so exec-create fell through the
generic containers allow. ALLOW_PAUSE was allow-only with no deny rule,
so pause fell through whenever CONTAINERS=1 and POST=1. Add the missing
deny rules in the same style as the existing archive/change/export/
logs/top denies. Ref: Tecnativa/docker-socket-proxy#1141 parent d906b09 commit 7552be3
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
| 37 | + | |
36 | 38 | | |
37 | 39 | | |
38 | 40 | | |
39 | 41 | | |
40 | 42 | | |
41 | 43 | | |
| 44 | + | |
| 45 | + | |
42 | 46 | | |
43 | 47 | | |
44 | 48 | | |
| |||
0 commit comments