From 39dc7608ef40587472cef14d41af9128537333be Mon Sep 17 00:00:00 2001 From: orklah Date: Sun, 7 Nov 2021 10:29:08 +0100 Subject: [PATCH] ignore comments after taint-sink --- tests/TaintTest.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/TaintTest.php b/tests/TaintTest.php index 21a1a3be7..97cb60844 100644 --- a/tests/TaintTest.php +++ b/tests/TaintTest.php @@ -2245,7 +2245,9 @@ class TaintTest extends TestCase * * Not working */ - function sinkNotWorking($sink) : string {}', + function sinkNotWorking($sink) : string {} + + echo sinkNotWorking($_GET["taint"]);', 'error_message' => 'TaintedHtml', ], ];