Skip to content

Commit d6d33de

Browse files
TimWollacapflam
authored andcommitted
DOC: Add RFC references for the path-strip-dot(dot)? normalizers
This is RFC 3986#6.2.2.3.
1 parent c315efd commit d6d33de

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

doc/configuration.txt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6050,15 +6050,18 @@ http-request normalize-uri query-sort-by-name [ { if | unless } <condition> ]
60506050

60516051
The following normalizers are available:
60526052

6053-
- path-strip-dot: Removes "/./" segments within the "path" component.
6053+
- path-strip-dot: Removes "/./" segments within the "path" component
6054+
(RFC 3986#6.2.2.3).
60546055

60556056
Example:
60566057
- /. -> /
60576058
- /./bar/ -> /bar/
60586059
- /a/./a -> /a/a
60596060
- /.well-known/ -> /.well-known/ (no change)
60606061

6061-
- path-strip-dotdot: Normalizes "/../" segments within the "path" component.
6062+
- path-strip-dotdot: Normalizes "/../" segments within the "path" component
6063+
(RFC 3986#6.2.2.3).
6064+
60626065
This merges segments that attempt to access the parent directory with
60636066
their preceding segment. Empty segments do not receive special treatment.
60646067
Use the "path-merge-slashes" normalizer first if this is undesired.

0 commit comments

Comments
 (0)