From dfd8582933798214d73c9ddb205d43bf2f1e3405 Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Fri, 9 Feb 2024 15:02:02 +0100 Subject: encode < to \u003C in jsenv to prevent false positives on XSS detection --- test/itjs.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/itjs.t b/test/itjs.t index caea542..76a41d1 100755 --- a/test/itjs.t +++ b/test/itjs.t @@ -57,7 +57,7 @@ is( is( itjs::serialize(""), - '"<\\/script>"', + '"\\u003C\\/script\\u003E"', "quote slashes" ); -- cgit v1.2.3