diff options
| author | Urban Müller | 2024-02-09 15:02:02 +0100 |
|---|---|---|
| committer | Urban Müller | 2024-02-09 15:02:02 +0100 |
| commit | dfd8582933798214d73c9ddb205d43bf2f1e3405 (patch) | |
| tree | 5d1a66d87e5ea45850abb785e4c7ab1ba27bbbd0 /test | |
| parent | 2b9648ffc9970d15d2019a561336def3c52e1210 (diff) | |
| download | itools-dfd8582933798214d73c9ddb205d43bf2f1e3405.tar.gz itools-dfd8582933798214d73c9ddb205d43bf2f1e3405.tar.bz2 itools-dfd8582933798214d73c9ddb205d43bf2f1e3405.zip | |
encode < to \u003C in jsenv to prevent false positives on XSS detection
Diffstat (limited to 'test')
| -rwxr-xr-x | test/itjs.t | 2 |
1 files changed, 1 insertions, 1 deletions
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>"), - '"<\\/script>"', + '"\\u003C\\/script\\u003E"', "quote slashes" ); |