mirror of
https://github.com/chubin/cheat.sh.git
synced 2024-11-23 10:35:29 +03:00
fvaicon.ico may be anywhere
This commit is contained in:
parent
660c55b7b6
commit
7771269f49
@ -160,7 +160,8 @@ def answer(topic=None):
|
||||
html_needed = is_html_needed(user_agent)
|
||||
options = parse_args(request.args)
|
||||
|
||||
if topic in ['apple-touch-icon-precomposed.png', 'apple-touch-icon.png', 'apple-touch-icon-120x120-precomposed.png']:
|
||||
if topic in ['apple-touch-icon-precomposed.png', 'apple-touch-icon.png', 'apple-touch-icon-120x120-precomposed.png'] \
|
||||
or (topic is not None and any(topic.endswith('/'+x) for x in ['favicon.ico'])):
|
||||
return ''
|
||||
|
||||
request_id = request.cookies.get('id')
|
||||
|
Loading…
Reference in New Issue
Block a user