v0.31.1 minor fixes and updates
Package / arch (push) Canceled after 0s
Package / user (push) Canceled after 0s
Package / deb (push) Canceled after 0s
Package / freebsd (push) Canceled after 0s
Package / image (push) Canceled after 0s
Test / test (push) Canceled after 0s
Test / e2e (push) Canceled after 0s
Package / arch (push) Canceled after 0s
Package / user (push) Canceled after 0s
Package / deb (push) Canceled after 0s
Package / freebsd (push) Canceled after 0s
Package / image (push) Canceled after 0s
Test / test (push) Canceled after 0s
Test / e2e (push) Canceled after 0s
This commit is contained in:
1 parent
6bd5e12a60
commit
c2e3d669da
10 files changed
+14
-18
No files matched your search
+3
-4
@@ -21,7 +21,7 @@ Omitting `[pipelines.flow.format]` entirely selects `raw`.
|
||||
|
||||
Each as type and default:
|
||||
|
||||
- `type` (string, `raw`): `raw`, `txt` (alias `text`), or `json`.
|
||||
- `type` (string, `raw`): `raw`, `txt`, or `json`.
|
||||
- `sanitizer_policy` (string, derived from `type`): `raw`, `txt`, `json`, or
|
||||
`shell`.
|
||||
- `flags` (int64, `0`): bitmask override; `0` selects a per-type default.
|
||||
@@ -122,9 +122,8 @@ Each policy, then what to use it with:
|
||||
- `shell`: strips shell metacharacters, whitespace, and control characters.
|
||||
- Data that will be passed to a command.
|
||||
|
||||
When `sanitizer_policy` is omitted, the policy is derived from `type`: `json`
|
||||
for `json`, `txt` for `txt`/`text`, and `raw` for anything else — so the safe
|
||||
pairing is the default.
|
||||
When `sanitizer_policy` is omitted, it is the policy of the same name as
|
||||
`type`, so the safe pairing is the default.
|
||||
|
||||
> `shell` strips dangerous characters but is **not** sufficient to make a string
|
||||
> safe for shell construction. Pass arguments through `exec` argv instead of
|
||||
|
||||
Reference in new issue
Block a user