MINOR: uri_normalizer: Add a `merge-slashes` normalizer to http-request normalize-uri
authorTim Duesterhus <tim@bastelstu.be>
Thu, 15 Apr 2021 19:45:58 +0000 (21:45 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 19 Apr 2021 07:05:57 +0000 (09:05 +0200)
commitd371e99d1c64744b906a5c9970b8a7d35bf08ae8
treef96107c5721adcff4dcd26087e924ad62fad7897
parentd2bedcc4ab59bf2c8cc23ebaa6798596d2925d38
MINOR: uri_normalizer: Add a `merge-slashes` normalizer to http-request normalize-uri

This normalizer merges adjacent slashes into a single slash, thus removing
empty path segments.

See GitHub Issue #714.
doc/configuration.txt
include/haproxy/action-t.h
include/haproxy/uri_normalizer.h
reg-tests/http-rules/normalize_uri.vtc [new file with mode: 0644]
src/http_act.c
src/uri_normalizer.c