]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
doc: http.uri.raw has no spaces 5624/head
authorPhilippe Antoine <contact@catenacyber.fr>
Wed, 25 Nov 2020 14:20:02 +0000 (15:20 +0100)
committerVictor Julien <victor@inliniac.net>
Tue, 1 Dec 2020 19:09:47 +0000 (20:09 +0100)
as they are in the protocol

cf bug #2881

doc/userguide/rules/http-keywords.rst

index 1f8fbdbb80bbb62bdd1dffac84fb0ff69ecf2bd4..c97fb0a5d2ce3b2bf19f82df31075d1dc94831a3 100644 (file)
@@ -190,6 +190,12 @@ characters %20 in a uri. This means matching on the uri.raw. The
 uri.raw and the normalized uri are separate buffers. So, the uri.raw
 inspects the uri.raw buffer and can not inspect the normalized buffer.
 
+.. note:: uri.raw never has any spaces in it.
+          With this request line ``GET /uid=0(root) gid=0(root) HTTP/1.1``,
+          the ``http.uri.raw`` will match ``/uid=0(root)``
+          and ``http.protocol`` will match ``gid=0(root) HTTP/1.1``
+          Reference: `https://redmine.openinfosecfoundation.org/issues/2881 <https://redmine.openinfosecfoundation.org/issues/2881>`_
+
 Example of the URI in a HTTP request:
 
 .. image:: http-keywords/uri1.png