forked frommicrosoft/ModSecurity
- Notifications
You must be signed in to change notification settings - Fork0
Commite20c800
Felipe Zimmerle
nginx: fix missing headers while SecResponseBodyAccess was On
The problem was caused by the fact that ModSecutiry was telling Nginx thatheaders had been sent when, in fact, had not. This modification was added inthe past, along with others, in the following commit:fd2c30fThis patch, just removes the "r->header_sent = 1". After that modificationthe following regression tests started to work again:from: action/00-disruptive-actions.t 3) action - pass in phase:3 4) action - pass in phase:4 11) action - deny in phase:3 12) action - deny in phase:4 19) action - redirect in phase:3 (get) 20) action - redirect in phase:4 (get) 23) action - proxy in phase:3 (get) 24) action - proxy in phase:4 (get)from: config/10-response-directives.t 2) config - SecResponseBodyAccess On 6) config - SecResponseBodyLimit (greater) 7) config - SecResponseBodyLimitAction Reject1 parent445783d commite20c800
1 file changed
+0
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1139 | 1139 | | |
1140 | 1140 | | |
1141 | 1141 | | |
1142 | | - | |
1143 | | - | |
1144 | | - | |
1145 | 1142 | | |
1146 | 1143 | | |
1147 | 1144 | | |
| |||
0 commit comments
Comments
(0)