mirror of
https://github.com/TecharoHQ/anubis.git
synced 2026-04-14 20:48:44 +00:00
fix(lib/test): fix failing test and invalid cloudflare workers rule
Signed-off-by: Xe Iaso <me@xeiaso.net>
This commit is contained in:
@@ -6,8 +6,6 @@
|
||||
- userAgent.contains("MSIE")
|
||||
# Trident is the Internet Explorer browser engine
|
||||
- userAgent.contains("Trident")
|
||||
# iPods are not in common use
|
||||
- userAgent.contains("iPod")
|
||||
# Opera is a fork of chrome now
|
||||
- userAgent.contains("Presto")
|
||||
# Windows CE is discontinued
|
||||
@@ -26,5 +24,5 @@
|
||||
any:
|
||||
# This is not released, even Windows 11 calls itself Windows 10
|
||||
- userAgent.contains("Windows NT 11.0")
|
||||
# Safari's User-Agent doesn't contain Safari
|
||||
- (!userAgent.contains("Chrome") && userAgent.contains("Safari"))
|
||||
# iPods are not in common use
|
||||
- userAgent.contains("iPod")
|
||||
@@ -1,4 +1,4 @@
|
||||
- name: cloudflare-workers
|
||||
expression: >
|
||||
"Cf-Worker" in headers
|
||||
headers_regex:
|
||||
CF-Worker: .*
|
||||
action: DENY
|
||||
Reference in New Issue
Block a user