fix(waf): TS-Syntaxfehler in crsRules.ts — Backslash escaped

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Debian
2026-06-03 13:27:57 +02:00
parent 2ab9da8e36
commit 19107ee702

View File

@@ -59,7 +59,7 @@ export const CRS_RULES: Record<number, string> = {
920460: "Abnormal character escapes in request",
920470: "Illegal Content-Type header",
920480: "Request content type charset is not allowed by policy",
920490: "Request header x-up-devcap-post-charset detected in combination with prefix \\",
920490: "Request header x-up-devcap-post-charset detected in combination with suspicious prefix",
920500: "Attempt to access a backup or working file",
920510: "Invalid Cache-Control request header",
920520: "Accept-Encoding header exceeded sensible length",
@@ -333,8 +333,7 @@ export const CRS_RULES: Record<number, string> = {
955340: "b374k m1n1 web shell",
959052: "Outbound Anomaly Score Exceeded in phase 3 (Total Score: %{tx.blocking_outbound_anomaly_score})",
959100: "Outbound Anomaly Score Exceeded (Total Score: %{tx.blocking_outbound_anomaly_score})",
980099: "Anomaly Scores: \\
(Inbound Scores: blocking=%{tx.blocking_inbound_anomaly_score}, detection=%{tx.detection_inbound_a...",
980099: "Anomaly Scores: Inbound/Outbound anomaly score summary",
}
export function getRuleDescription(ruleId: number): string {