File tree Expand file tree Collapse file tree 6 files changed +14
-14
lines changed Expand file tree Collapse file tree 6 files changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -92,10 +92,10 @@ qr/\[(warn|error|crit|alert|emerg)\]/
92
92
--- config eval: $::config
93
93
--- request
94
94
PURGE /purge/proxy/passwd
95
- --- error_code: 404
95
+ --- error_code: 412
96
96
--- response_headers
97
97
Content-Type: text/html
98
- --- response_body_like: 404 Not Found
98
+ --- response_body_like: 412 Precondition Failed
99
99
--- timeout: 10
100
100
--- no_error_log eval
101
101
qr/\[(warn|error|crit|alert|emerg)\]/
Original file line number Diff line number Diff line change @@ -94,10 +94,10 @@ qr/\[(warn|error|crit|alert|emerg)\]/
94
94
--- config eval: $::config
95
95
--- request
96
96
PURGE /purge/proxy/passwd
97
- --- error_code: 404
97
+ --- error_code: 412
98
98
--- response_headers
99
99
Content-Type: text/html
100
- --- response_body_like: 404 Not Found
100
+ --- response_body_like: 412 Precondition Failed
101
101
--- timeout: 10
102
102
--- no_error_log eval
103
103
qr/\[(warn|error|crit|alert|emerg)\]/
Original file line number Diff line number Diff line change @@ -124,10 +124,10 @@ qr/\[(warn|error|crit|alert|emerg)\]/
124
124
--- config eval: $::config
125
125
--- request
126
126
PURGE /proxy/passwd
127
- --- error_code: 404
127
+ --- error_code: 412
128
128
--- response_headers
129
129
Content-Type: text/html
130
- --- response_body_like: 404 Not Found
130
+ --- response_body_like: 412 Precondition Failed
131
131
--- timeout: 10
132
132
--- no_error_log eval
133
133
qr/\[(warn|error|crit|alert|emerg)\]/
@@ -190,10 +190,10 @@ qr/\[(warn|error|crit|alert|emerg)\]/
190
190
--- config eval: $::config_allowed
191
191
--- request
192
192
PURGE /proxy/passwd
193
- --- error_code: 404
193
+ --- error_code: 412
194
194
--- response_headers
195
195
Content-Type: text/html
196
- --- response_body_like: 404 Not Found
196
+ --- response_body_like: 412 Precondition Failed
197
197
--- timeout: 10
198
198
--- no_error_log eval
199
199
qr/\[(warn|error|crit|alert|emerg)\]/
Original file line number Diff line number Diff line change @@ -127,10 +127,10 @@ qr/\[(warn|error|crit|alert|emerg)\]/
127
127
--- config eval: $::config
128
128
--- request
129
129
PURGE /proxy/passwd
130
- --- error_code: 404
130
+ --- error_code: 412
131
131
--- response_headers
132
132
Content-Type: text/html
133
- --- response_body_like: 404 Not Found
133
+ --- response_body_like: 412 Precondition Failed
134
134
--- timeout: 10
135
135
--- no_error_log eval
136
136
qr/\[(warn|error|crit|alert|emerg)\]/
@@ -193,10 +193,10 @@ qr/\[(warn|error|crit|alert|emerg)\]/
193
193
--- config eval: $::config_allowed
194
194
--- request
195
195
PURGE /proxy/passwd
196
- --- error_code: 404
196
+ --- error_code: 412
197
197
--- response_headers
198
198
Content-Type: text/html
199
- --- response_body_like: 404 Not Found
199
+ --- response_body_like: 412 Precondition Failed
200
200
--- timeout: 10
201
201
--- no_error_log eval
202
202
qr/\[(warn|error|crit|alert|emerg)\]/
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ our $config = <<'_EOC_';
25
25
26
26
27
27
location = /etc/passwd {
28
- root /var/www/html ;
28
+ root /;
29
29
}
30
30
_EOC_
31
31
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ our $config = <<'_EOC_';
25
25
26
26
27
27
location = /etc/passwd {
28
- root /var/www/html ;
28
+ root /;
29
29
}
30
30
_EOC_
31
31
You can’t perform that action at this time.
0 commit comments