Repository navigation
Commit c4d0e8f
authored
docs: putenv() writes persist across worker requests on the same thread (#2783)
The sandboxing section of `docs/security.md` said a `putenv()` value
can't leak "to other requests", which contradicts the worker-mode
section just above it: `putenv()` writes persist across requests handled
by the same worker thread until the script restarts. The sandbox only
isolates threads. Same wording fixed in `docs/internals.md` and in the
`frankenphp_putenv()` comment.
Reported by Zachariah Mithani.1 parent 1aed267 commit c4d0e8f
3 files changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
228 | 228 | | |
229 | 229 | | |
230 | 230 | | |
231 | | - | |
| 231 | + | |
232 | 232 | | |
233 | 233 | | |
234 | 234 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
814 | 814 | | |
815 | 815 | | |
816 | 816 | | |
817 | | - | |
| 817 | + | |
818 | 818 | | |
819 | 819 | | |
820 | 820 | | |
| |||
0 commit comments