]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
DOC: Add RFC references for the path-strip-dot(dot)? normalizers
authorTim Duesterhus <tim@bastelstu.be>
Wed, 21 Apr 2021 19:20:35 +0000 (21:20 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 23 Apr 2021 17:43:45 +0000 (19:43 +0200)
This is RFC 3986#6.2.2.3.

doc/configuration.txt

index bdb5b7849e0bcbbf9becacfd8111cacbdb8562bc..343f2b4cc967b421d853c7239eb0ecfb0631fff4 100644 (file)
@@ -6050,7 +6050,8 @@ http-request normalize-uri query-sort-by-name [ { if | unless } <condition> ]
 
   The following normalizers are available:
 
-  - path-strip-dot: Removes "/./" segments within the "path" component.
+  - path-strip-dot: Removes "/./" segments within the "path" component
+      (RFC 3986#6.2.2.3).
 
       Example:
       - /.            -> /
@@ -6058,7 +6059,9 @@ http-request normalize-uri query-sort-by-name [ { if | unless } <condition> ]
       - /a/./a        -> /a/a
       - /.well-known/ -> /.well-known/ (no change)
 
-  - path-strip-dotdot: Normalizes "/../" segments within the "path" component.
+  - path-strip-dotdot: Normalizes "/../" segments within the "path" component
+      (RFC 3986#6.2.2.3).
+
       This merges segments that attempt to access the parent directory with
       their preceding segment. Empty segments do not receive special treatment.
       Use the "path-merge-slashes" normalizer first if this is undesired.