Permalink
Browse files

fvaicon.ico may be anywhere

  • Loading branch information...
chubin committed Sep 23, 2018
1 parent 660c55b commit 7771269f4910a62c72157f4f8fc71e0f9d636b3d
Showing with 2 additions and 1 deletion.
  1. +2 −1 bin/srv.py
View
@@ -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')

0 comments on commit 7771269

Please sign in to comment.