]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
doc: update base64_decode notes
authorShivani Bhardwaj <shivani@oisf.net>
Mon, 10 Oct 2022 11:11:09 +0000 (16:41 +0530)
committerVictor Julien <vjulien@oisf.net>
Sat, 26 Nov 2022 14:09:39 +0000 (15:09 +0100)
(cherry picked from commit 2a0cb1f3daa2c58021b10ff88f2e6519a2c91d8a)

doc/userguide/rules/base64-keywords.rst

index 4d704292bc9b924797a21597f769a7d4b15abefb..7daf0c2603a987e2161466d30b6aeb499c199dec 100644 (file)
@@ -27,6 +27,10 @@ This option makes ``offset`` skip bytes relative to the previous match.
 
     The content match that you want to decode relative to must be the first match in the stream.
 
+.. note:: ``base64_decode`` follows RFC 4648 by default i.e. encounter with any character that is not found in the base64 alphabet leads to rejection of that character and the rest of the string.
+
+    See Redmine Bug 5223: https://redmine.openinfosecfoundation.org/issues/5223 and RFC 4648: https://www.rfc-editor.org/rfc/rfc4648#section-3.3
+
 base64_data
 -----------