From: Tim Duesterhus Date: Mon, 10 May 2021 21:21:20 +0000 (+0200) Subject: BUG/MINOR: http_act: Fix normalizer names in error messages X-Git-Tag: v2.4.0~25 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2f413136e941e96fd74118eb2d4b7238ab3c6b91;p=thirdparty%2Fhaproxy.git BUG/MINOR: http_act: Fix normalizer names in error messages These places were forgotten when the normalizers were renamed. Bug introduced in 5be6ab269e5606aef954f39d6717b024f97b3789, which is 2.4. No backport needed. --- diff --git a/src/http_act.c b/src/http_act.c index b8413f3318..96ac8f87ba 100644 --- a/src/http_act.c +++ b/src/http_act.c @@ -401,7 +401,7 @@ static enum act_parse_ret parse_http_normalize_uri(const char **args, int *orig_ rule->action = ACT_NORMALIZE_URI_PATH_STRIP_DOTDOT; } else if (strcmp(args[cur_arg], "if") != 0 && strcmp(args[cur_arg], "unless") != 0) { - memprintf(err, "unknown argument '%s' for 'dotdot' normalizer", args[cur_arg]); + memprintf(err, "unknown argument '%s' for 'path-strip-dotdot' normalizer", args[cur_arg]); return ACT_RET_PRS_ERR; } } @@ -421,7 +421,7 @@ static enum act_parse_ret parse_http_normalize_uri(const char **args, int *orig_ rule->action = ACT_NORMALIZE_URI_PERCENT_TO_UPPERCASE; } else if (strcmp(args[cur_arg], "if") != 0 && strcmp(args[cur_arg], "unless") != 0) { - memprintf(err, "unknown argument '%s' for 'percent-upper' normalizer", args[cur_arg]); + memprintf(err, "unknown argument '%s' for 'percent-to-uppercase' normalizer", args[cur_arg]); return ACT_RET_PRS_ERR; } }