forked frommicrosoft/ModSecurity
- Notifications
You must be signed in to change notification settings - Fork0
Commit2a43589
Felipe Zimmerle
nginx: Removes problematic performance improvement
In an attempt to boost the performance the headers were being checked in twodifferent situations, the first if SecResponseBodyAccess was Off and in asecond situation if SecResponseBodyAccess was set to On. This makes sensehowever functionalities such as content injection demands the body even ifSecResponseBodyAccess was not enabled. This patch removes the first scenario,leaving just the second one. After this modification the following regressiontests started to pass:from: regression/action/10-append-prepend.t 1) action - append content: passed 2) action - prepend content: passed1 parent21e25c5 commit2a43589
1 file changed
+0
-29
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1074 | 1074 | | |
1075 | 1075 | | |
1076 | 1076 | | |
1077 | | - | |
1078 | | - | |
1079 | 1077 | | |
1080 | 1078 | | |
1081 | 1079 | | |
| |||
1112 | 1110 | | |
1113 | 1111 | | |
1114 | 1112 | | |
1115 | | - | |
1116 | | - | |
1117 | | - | |
1118 | | - | |
1119 | | - | |
1120 | | - | |
1121 | | - | |
1122 | | - | |
1123 | | - | |
1124 | | - | |
1125 | | - | |
1126 | | - | |
1127 | | - | |
1128 | | - | |
1129 | | - | |
1130 | | - | |
1131 | | - | |
1132 | | - | |
1133 | | - | |
1134 | | - | |
1135 | | - | |
1136 | | - | |
1137 | | - | |
1138 | | - | |
1139 | | - | |
1140 | | - | |
1141 | | - | |
1142 | 1113 | | |
1143 | 1114 | | |
1144 | 1115 | | |
| |||
0 commit comments
Comments
(0)