Skip to content

Commit

Permalink
Merge pull request #99 from IanLee1521/doe-fixes
Browse files Browse the repository at this point in the history
DOE fixes
  • Loading branch information
IanLee1521 committed Nov 20, 2018
2 parents 5d88399 + 4a9b281 commit a9b2a3d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -1,3 +1,4 @@
*.xlsx
*.csv
todo.txt
*.json
Expand Down
2 changes: 1 addition & 1 deletion trustymail/__init__.py
@@ -1,6 +1,6 @@
from __future__ import unicode_literals, absolute_import, print_function

__version__ = '0.6.5-dev'
__version__ = '0.6.5'

PublicSuffixListFilename = 'public_suffix_list.dat'
PublicSuffixListReadOnly = False
2 changes: 1 addition & 1 deletion trustymail/trustymail.py
Expand Up @@ -492,7 +492,7 @@ def dmarc_scan(resolver, domain):
elif tag == 'rua' or tag == 'ruf':
uris = tag_dict[tag].split(',')
if len(uris) > 2:
handle_syntax_error('[DMARC]', domain, 'Warning: The {} tag specifies {} URIs. Receivers are not required to send reports to more than two URIs - https://tools.ietf.org/html/rfc7489#section-6.2.'.format(tag, len(uris)))
handle_error('[DMARC]', domain, 'Warning: The {} tag specifies {} URIs. Receivers are not required to send reports to more than two URIs - https://tools.ietf.org/html/rfc7489#section-6.2.'.format(tag, len(uris)), syntax_error=False)
for uri in uris:
# mailto: is currently the only type of DMARC URI
parsed_uri = parse_dmarc_report_uri(uri)
Expand Down

0 comments on commit a9b2a3d

Please sign in to comment.