Explicitly support plaintext browsers (Lynx) and serve challenges that they can solve
This commit is contained in:
@@ -440,6 +440,11 @@ rules:
|
|||||||
conditions:
|
conditions:
|
||||||
- '!(method == "HEAD" || method == "GET")'
|
- '!(method == "HEAD" || method == "GET")'
|
||||||
|
|
||||||
|
- name: plaintext-browser
|
||||||
|
action: challenge
|
||||||
|
challenges: [http-cookie-check, self-meta-refresh, self-cookie]
|
||||||
|
conditions:
|
||||||
|
- 'userAgent.startsWith("Lynx/")'
|
||||||
|
|
||||||
- name: standard-tools
|
- name: standard-tools
|
||||||
action: challenge
|
action: challenge
|
||||||
|
|||||||
@@ -258,6 +258,11 @@ rules:
|
|||||||
conditions:
|
conditions:
|
||||||
- '!(method == "HEAD" || method == "GET")'
|
- '!(method == "HEAD" || method == "GET")'
|
||||||
|
|
||||||
|
- name: plaintext-browser
|
||||||
|
action: challenge
|
||||||
|
challenges: [http-cookie-check, self-meta-refresh, self-cookie]
|
||||||
|
conditions:
|
||||||
|
- 'userAgent.startsWith("Lynx/")'
|
||||||
|
|
||||||
- name: standard-tools
|
- name: standard-tools
|
||||||
action: challenge
|
action: challenge
|
||||||
|
|||||||
Reference in New Issue
Block a user