| Request Details |
$value): ?>
| : |
|
HTTP Request:
fullRequest)): ?>
This is a reconstruction of the request using what was flagged by the WAF.
Full requests are only stored when WFWAF_DEBUG is enabled.
'',
"[/$paramKey]" => '',
"[$matchKey]" => '',
"[/$matchKey]" => '',
);
$highlightParamFormat = "[$paramKey]%s[/$paramKey]";
$highlightMatchFormat = "[$matchKey]%s[/$matchKey]";
$requestOut = esc_html($request->highlightFailedParams($failedRules, $highlightParamFormat, $highlightMatchFormat));
echo str_replace(array_keys($template), $template, $requestOut) ?>
Failed Rules
| ID |
Category |
$categories) {
foreach ($categories as $categoryKey => $failed) {
foreach ($failed as $failedRule) {
/** @var wfWAFRule $rule */
$rule = $failedRule['rule'];
printf("| %d | %s |
", $rule->getRuleID(), $rule->getDescription());
}
}
}
?>