From d6d33deaea973d36827cce12f49dfc8a38179dd0 Mon Sep 17 00:00:00 2001 From: Tim Duesterhus Date: Wed, 21 Apr 2021 21:20:35 +0200 Subject: [PATCH] DOC: Add RFC references for the path-strip-dot(dot)? normalizers This is RFC 3986#6.2.2.3. --- doc/configuration.txt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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.