Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb0025c8

Browse files
author
Felipe Zimmerle
committed
tests: fixes regression/config/10-request-directives.t
Tests were failing because they were writing wrong/outdated.
1 parente5560a6 commitb0025c8

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

‎tests/regression/config/10-request-directives.t‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
SecRuleEngine On
99
SecArgumentSeparator";"
1010
SecRule ARGS:a"@streq 1""phase:1,deny,chain,id:500215"
11-
SecRule ARGS:b"@streq 2,id:500216"
11+
SecRule ARGS:b"@streq 2"""
1212
),
1313
match_log=> {
1414
error=> [ qr/Access deniedwith code403 \(phase1\)\. Stringmatch"2" at ARGS:b\./,1 ],
@@ -26,7 +26,7 @@
2626
conf=> q(
2727
SecRuleEngine On
2828
SecRule ARGS:a"@streq 1""phase:1,deny,chain,id:500217"
29-
SecRule ARGS:b"@streq 2,id:500218"
29+
SecRule ARGS:b"@streq 2"""
3030
),
3131
match_log=> {
3232
-error=> [ qr/Access denied/,1 ],
@@ -46,7 +46,7 @@
4646
SecRequestBodyAccess On
4747
SecArgumentSeparator";"
4848
SecRule ARGS:a"@streq 1""phase:2,deny,chain,id:500219"
49-
SecRule ARGS:b"@streq 2,id:500220"
49+
SecRule ARGS:b"@streq 2"""
5050
),
5151
match_log=> {
5252
error=> [ qr/Access deniedwith code403 \(phase2\)\. Stringmatch"2" at ARGS:b\./,1 ],
@@ -94,7 +94,7 @@
9494
SecRuleEngine On
9595
SecRequestBodyAccess On
9696
SecRule ARGS:a"\@streq 1""phase:2,deny,chain,id:500223"
97-
SecRule ARGS:b"\@streq 2,id:500224"
97+
SecRule ARGS:b"\@streq 2"""
9898
),
9999
match_log=> {
100100
error=> [ qr/Access deniedwith code403 \(phase2\)\. Stringmatch"2" at ARGS:b\./,1 ],
@@ -500,8 +500,8 @@
500500
SecDebugLogLevel5
501501
SecCookieFormat1
502502
SecRule REQUEST_COOKIES_NAMES"\@streq SESSIONID""phase:1,deny,chain,id:500231"
503-
SecRule REQUEST_COOKIES:\$SESSIONID_PATH"\@streq /""chain,id:500232"
504-
SecRule REQUEST_COOKIES:SESSIONID"\@streq cookieval,id:500233"
503+
SecRule REQUEST_COOKIES:\$SESSIONID_PATH"\@streq /""chain"
504+
SecRule REQUEST_COOKIES:SESSIONID"\@streq cookieval"
505505
),
506506
match_log=> {
507507
error=> [ qr/Access deniedwith code403 \(phase1\)\. Stringmatch"cookieval" at REQUEST_COOKIES:SESSIONID\./,1 ],
@@ -527,8 +527,8 @@
527527
SecDebugLogLevel5
528528
SecCookieFormat0
529529
SecRule REQUEST_COOKIES_NAMES"\@streq SESSIONID""phase:1,deny,chain,id:500234"
530-
SecRule REQUEST_COOKIES:\$SESSIONID_PATH"\@streq /""chain,id:500235"
531-
SecRule REQUEST_COOKIES:SESSIONID"\@streq cookieval,id:500236"
530+
SecRule REQUEST_COOKIES:\$SESSIONID_PATH"\@streq /""chain"
531+
SecRule REQUEST_COOKIES:SESSIONID"\@streq cookieval"
532532
),
533533
match_log=> {
534534
-error=> [ qr/Access denied/,1 ],

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp