0001-misc-pass-domain-as-string-for-email-validation-3929.patch
wcs/qommon/form.py | ||
---|---|---|
912 | 912 |
except socket.error: |
913 | 913 |
# will fail on lack of DNS module or MX lookup failure |
914 | 914 |
try: |
915 |
l = len(DNS.mxlookup(domain))
|
|
915 |
l = len(DNS.mxlookup(force_str(domain)))
|
|
916 | 916 |
except: |
917 | 917 |
l = 0 |
918 | 918 |
if l == 0: |
919 |
- |