Skip to content
This repository was archived by the owner on May 14, 2020. It is now read-only.

Commit 802dc36

Browse files
committed
Cosmetics (single quotes and wording)
1 parent 23818fb commit 802dc36

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

rules/REQUEST-912-DOS-PROTECTION.conf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ SecRule REQUEST_BASENAME ".*?(\.[a-z0-9]{1,10})?$" \
177177
#
178178
# Check DOS Counter
179179
# If the request count is greater than or equal to user settings,
180-
# we then raise the burst counter. This happens via two separate rules:
180+
# we raise the burst counter. This happens via two separate rules:
181181
# - 912160: raise from 0 to 1
182182
# - 912161: raise from 1 to 2
183183
#
@@ -187,7 +187,7 @@ SecRule REQUEST_BASENAME ".*?(\.[a-z0-9]{1,10})?$" \
187187
#
188188
SecRule IP:DOS_COUNTER "@ge %{tx.dos_counter_threshold}" \
189189
"phase:5,\
190-
id:'912160',\
190+
id:912160,\
191191
t:none,\
192192
nolog,\
193193
pass,\
@@ -204,7 +204,7 @@ SecRule IP:DOS_COUNTER "@ge %{tx.dos_counter_threshold}" \
204204

205205
SecRule IP:DOS_COUNTER "@ge %{tx.dos_counter_threshold}" \
206206
"phase:5,\
207-
id:'912161',\
207+
id:912161,\
208208
t:none,\
209209
nolog,\
210210
pass,\

0 commit comments

Comments
 (0)