From 93f6c6c06f5fad3be41391fc812e8c8ad50e6b57 Mon Sep 17 00:00:00 2001 From: Carlos Moreno Date: Fri, 17 Feb 2017 21:37:46 -0600 Subject: [PATCH] Adding skype to SNEAKY_USER_AGENTS --- snappass/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snappass/main.py b/snappass/main.py index 30f6926..c3e16d7 100644 --- a/snappass/main.py +++ b/snappass/main.py @@ -9,7 +9,7 @@ from redis.exceptions import ConnectionError from flask import abort, Flask, render_template, request -SNEAKY_USER_AGENTS = ('Slackbot', 'facebookexternalhit', 'Twitterbot', 'Facebot', 'WhatsApp') +SNEAKY_USER_AGENTS = ('Slackbot', 'facebookexternalhit', 'Twitterbot', 'Facebot', 'WhatsApp', 'SkypeUriPreview') SNEAKY_USER_AGENTS_RE = re.compile('|'.join(SNEAKY_USER_AGENTS)) NO_SSL = os.environ.get('NO_SSL', False) app = Flask(__name__)