mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-22 14:21:25 +02:00
DOC: Add RFC references for the path-strip-dot(dot)? normalizers
This is RFC 3986#6.2.2.3.
This commit is contained in:
parent
c315efda60
commit
d6d33deaea
@ -6050,7 +6050,8 @@ http-request normalize-uri query-sort-by-name [ { if | unless } <condition> ]
|
|||||||
|
|
||||||
The following normalizers are available:
|
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:
|
Example:
|
||||||
- /. -> /
|
- /. -> /
|
||||||
@ -6058,7 +6059,9 @@ http-request normalize-uri query-sort-by-name [ { if | unless } <condition> ]
|
|||||||
- /a/./a -> /a/a
|
- /a/./a -> /a/a
|
||||||
- /.well-known/ -> /.well-known/ (no change)
|
- /.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
|
This merges segments that attempt to access the parent directory with
|
||||||
their preceding segment. Empty segments do not receive special treatment.
|
their preceding segment. Empty segments do not receive special treatment.
|
||||||
Use the "path-merge-slashes" normalizer first if this is undesired.
|
Use the "path-merge-slashes" normalizer first if this is undesired.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user