From: Mike Stepanek (mstepane) Date: Thu, 6 Jan 2022 11:44:44 +0000 (+0000) Subject: Pull request #3223: Enhanced JavaScript normalizer doc updates X-Git-Tag: 3.1.20.0~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=504364e1430a86f317f67721a8036e7f8a27e699;p=thirdparty%2Fsnort3.git Pull request #3223: Enhanced JavaScript normalizer doc updates Merge in SNORT/snort3 from ~DKYRYLOV/snort3:doc_js_dealias to master Squashed commit of the following: commit 7ad6621c147fb068c308ec8c3c8e4ece4bbcf8f9 Author: dkyrylov Date: Thu Dec 16 16:15:39 2021 +0200 doc: update JavaScript normalization docs Add references to the enhanced javascript normalizer in builtin alerts; Clarify limits in js_norm_identifier_depth; Reword ECMAScript related paragraph in dev_notes; Add de-aliasing to http_inspect and dev_notes; Cleanup and reword option descriptions. --- diff --git a/doc/reference/builtin_stubs.txt b/doc/reference/builtin_stubs.txt index 18db0beee..bbad9a923 100644 --- a/doc/reference/builtin_stubs.txt +++ b/doc/reference/builtin_stubs.txt @@ -1218,30 +1218,32 @@ A server granted a request to upgrade a connection from HTTP/1 to HTTP/2. 119:265 -JavaScript normalizer has encountered a symbol that is not expected as a part of a valid +Enhanced JavaScript normalizer has encountered a symbol that is not expected as a part of a valid JavaScript statement, making further normalization impossible. 119:266 HTML end-tag is encountered inside a JavaScript comment or literal, which is a syntax error, as the last comment or literal is not closed before -script end. +script end. This alert is raised by the enhanced JavaScript normalizer. 119:268 When HTML