From 5e2b973ac490b68ba860ef89c9bbf69923767990 Mon Sep 17 00:00:00 2001 From: Sauyon Lee Date: Thu, 14 May 2020 14:35:08 -0700 Subject: [PATCH] Update comment in ReflectedXss test Co-authored-by: Max Schaefer <54907921+max-schaefer@users.noreply.github.com> --- ql/test/query-tests/Security/CWE-079/tst.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ql/test/query-tests/Security/CWE-079/tst.go b/ql/test/query-tests/Security/CWE-079/tst.go index e25c79c74e1..b76e087e26e 100644 --- a/ql/test/query-tests/Security/CWE-079/tst.go +++ b/ql/test/query-tests/Security/CWE-079/tst.go @@ -48,7 +48,7 @@ func serve8() { if service != "service1" && service != "service2" { fmt.Fprintln(w, "Service not found") } else { - // OK, but caught: service is known to be either "service1" or "service2" here + // OK (service is known to be either "service1" or "service2" here), but currently flagged w.Write([]byte(service)) } })