Don't check non-connected URLs.

This commit is contained in:
Bastian Kleineidam 2014-03-19 16:33:38 +01:00
parent ce733ae76b
commit 71a7898ee6

View file

@ -52,6 +52,9 @@ class SslCertificateCheck(_ConnectionPlugin):
return
if not url_data.valid:
return
if url_data.url_connection is None:
# not allowed to connect
return
if url_data.scheme != 'https':
return
host = url_data.urlparts[1]