Hi Christopher,

Tim and I were talking while he was working on the URI normalizers
and as a fun evening exercise I decided to write a simple normalizer
to remove single dots from the path component.
While looking over his code to get an understanding of how things work
I found a minor bug in his implementation of the query sort normalizer
and included a patch for that as well.

Best regards,

Max

Maximilian Mader (3):
  BUG/MINOR: uri_normalizer: Use delim parameter when building the
    sorted query in uri_normalizer_query_sort
  CLEANUP: uri_normalizer: Remove trailing whitespace
  MINOR: uri_normalizer: Add a `strip-dot` normalizer

 doc/configuration.txt                  |  9 +++
 include/haproxy/action-t.h             |  1 +
 include/haproxy/uri_normalizer.h       |  1 +
 reg-tests/http-rules/normalize_uri.vtc | 81 +++++++++++++++++++++++++-
 src/http_act.c                         | 22 +++++++
 src/uri_normalizer.c                   | 45 +++++++++++++-
 6 files changed, 156 insertions(+), 3 deletions(-)

--
2.25.1


Reply via email to