1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-01 16:51:13 -05:00
denoland-deno/cli/tests
Nayeem Rahman 1cce306022
fix(runtime/permissions): Resolve executable specifiers in allowlists and queries (#14130)
Closes #14122.

Adds two extensions to `--allow-run` behaviour:
- When `--allow-run=foo` is specified and `foo` is found in the `PATH`
at startup, `RunDescriptor::Path(which("foo"))` is added to the
allowlist alongside `RunDescriptor::Name("foo")`. Currently only the
latter is.
- When run permission for `foo` is queried and `foo` is found in the
`PATH` at runtime, either `RunDescriptor::Path(which("foo"))` or
`RunDescriptor::Name("foo")` would qualify in the allowlist. Currently
only the latter does.
2023-08-30 18:52:01 +01:00
..
integration fix(runtime/permissions): Resolve executable specifiers in allowlists and queries (#14130) 2023-08-30 18:52:01 +01:00
node_compat fix(node/http): correctly send Content-length header instead of Transfer-Encoding: chunked (#20127) 2023-08-28 09:32:54 +02:00
testdata fix(runtime/permissions): Resolve executable specifiers in allowlists and queries (#14130) 2023-08-30 18:52:01 +01:00
unit fix(ext/kv): don't panic if listening on queues and KV is not closed (#20317) 2023-08-29 11:24:44 -07:00
unit_node fix(node/http): don't leak resources on destroyed request (#20040) 2023-08-29 12:13:58 +00:00
integration_tests.rs tests: move integration tests to a single module (#17380) 2023-01-13 02:59:13 +01:00