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.
This commit is contained in:
parent
da7f11bfb5
commit
2f413136e9
@ -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…
x
Reference in New Issue
Block a user