]> git.ipfire.org Git - thirdparty/dnspython.git/commitdiff
Ignore URLs other than HTTPS
authorFilip Š <filip.stamcar@hotmail.com>
Tue, 29 Oct 2019 19:57:54 +0000 (20:57 +0100)
committerFilip Š <filip.stamcar@hotmail.com>
Tue, 29 Oct 2019 19:57:54 +0000 (20:57 +0100)
dns/resolver.py

index 575df4c50c9412e6c3e999fccaec63ee2060f12b..3e2cc0d21945bd4a1608615e8c971db4c76cd187 100644 (file)
@@ -910,6 +910,8 @@ class Resolver(object):
                         if protocol == 'https':
                             tcp_attempt = True
                             response = dns.query.https(request, nameserver)
+                        elif protocol:
+                            continue
                         else:
                             tcp_attempt = tcp
                             if tcp: