mirror of
https://github.com/haproxy/haproxy.git
synced 2026-06-06 23:32:34 -04:00
BUG/MINOR: http_act: Fix normalizer names in error messages
These places were forgotten when the normalizers were renamed.
Bug introduced in 5be6ab269e, which is 2.4.
No backport needed.
This commit is contained in:
parent
da7f11bfb5
commit
2f413136e9
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue