aboutsummaryrefslogtreecommitdiff
path: root/lib/policy/config/testdata/bad/badregexes.json
diff options
context:
space:
mode:
Diffstat (limited to 'lib/policy/config/testdata/bad/badregexes.json')
-rw-r--r--lib/policy/config/testdata/bad/badregexes.json14
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/policy/config/testdata/bad/badregexes.json b/lib/policy/config/testdata/bad/badregexes.json
new file mode 100644
index 0000000..e85b85b
--- /dev/null
+++ b/lib/policy/config/testdata/bad/badregexes.json
@@ -0,0 +1,14 @@
+{
+ "bots": [
+ {
+ "name": "path-bad",
+ "path_regex": "a(b",
+ "action": "DENY"
+ },
+ {
+ "name": "user-agent-bad",
+ "user_agent_regex": "a(b",
+ "action": "DENY"
+ }
+ ]
+} \ No newline at end of file