From ac0746db314eb159e06f17e9abd21ba036201d27 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Sun, 25 Jan 2026 06:39:52 +0000 Subject: [PATCH] fix(waf): correct invalid curl flags in coraza integration test - Replace 'curl -q -O-' with 'curl -s' (valid silent mode flag) - Remove redundant fallback since only one curl call is needed - Fixes httpbin connectivity check failure in WAF tests --- scripts/coraza_integration.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/coraza_integration.sh b/scripts/coraza_integration.sh index 5bfe672f..3f3c905c 100755 --- a/scripts/coraza_integration.sh +++ b/scripts/coraza_integration.sh @@ -160,7 +160,7 @@ docker run -d --name coraza-backend --network containers_default kennethreitz/ht echo "Waiting for httpbin backend to be ready..." for i in {1..20}; do # Check if container is running and has network connectivity - if docker exec charon-debug sh -c 'curl -q -O- http://coraza-backend/get 2>/dev/null || curl -s http://coraza-backend/get' >/dev/null 2>&1; then + if docker exec charon-debug sh -c 'curl -s http://coraza-backend/get' >/dev/null 2>&1; then echo "✓ httpbin backend is ready" break fi