Skip to content

Secure, Fast, and Extensible Sandbox runtime for AI agents.

fix(e2e): quote the DoH probe URL so '&' is not parsed by the shell

高然7b069a1121eb
diff --git a/tests/python/tests/test_egress_mitm_e2e.py b/tests/python/tests/test_egress_mitm_e2e.py
index 8b41e4026..81a0363b9 100644
--- a/tests/python/tests/test_egress_mitm_e2e.py
+++ b/tests/python/tests/test_egress_mitm_e2e.py
@@ -159,7 +159,7 @@ def test_allow_443_deny_all_with_vault_keeps_https_working(
_assert_https_via_mitm(
sandbox,
(
- "https://cloudflare-dns.com/dns-query?name=example.com&type=A"
+ "'https://cloudflare-dns.com/dns-query?name=example.com&type=A'"
" --resolve cloudflare-dns.com:443:1.1.1.1"
" --header 'accept: application/dns-json'"
),