]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: uri_normalizer: Add support for supressing leading `../` for dotdot normalizer
authorTim Duesterhus <tim@bastelstu.be>
Thu, 15 Apr 2021 19:46:00 +0000 (21:46 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 19 Apr 2021 07:05:57 +0000 (09:05 +0200)
commit560e1a63524d40e9ffc552cf145f4cc3f918455d
treef7fa9d3e07c383ac1ffcadf01053a1ada16d5848
parent9982fc2bbdbc20cd3a5eac7bf3b1a20ba759c7a7
MINOR: uri_normalizer: Add support for supressing leading `../` for dotdot normalizer

This adds an option to supress `../` at the start of the resulting path.
doc/configuration.txt
include/haproxy/action-t.h
include/haproxy/uri_normalizer.h
reg-tests/http-rules/normalize_uri.vtc
src/http_act.c
src/uri_normalizer.c