From: Tim Duesterhus Date: Wed, 21 Apr 2021 19:20:35 +0000 (+0200) Subject: DOC: Add RFC references for the path-strip-dot(dot)? normalizers X-Git-Tag: v2.4-dev18~49 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d6d33deaea973d36827cce12f49dfc8a38179dd0;p=thirdparty%2Fhaproxy.git DOC: Add RFC references for the path-strip-dot(dot)? normalizers This is RFC 3986#6.2.2.3. --- diff --git a/doc/configuration.txt b/doc/configuration.txt index bdb5b7849e..343f2b4cc9 100644 --- a/doc/configuration.txt +++ b/doc/configuration.txt @@ -6050,7 +6050,8 @@ http-request normalize-uri query-sort-by-name [ { if | unless } ] 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 } ] - /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.