mirror of
https://gitlab.com/bashrc2/epicyon
synced 2026-11-01 10:24:46 +00:00
Capital
This commit is contained in:
1 parent
a85767ad58
commit
7e4eaab3cb
1 file changed
+1
-1
@@ -480,7 +480,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||
return False
|
||||
if self.headers['Accept'].startswith('*'):
|
||||
if self.headers.get('User-Agent'):
|
||||
if 'Elinks' in self.headers['User-Agent'] or \
|
||||
if 'ELinks' in self.headers['User-Agent'] or \
|
||||
'Lynx' in self.headers['User-Agent']:
|
||||
return True
|
||||
return False
|
||||
|
||||
Reference in new issue
Block a user