Skip to content

Commit

Permalink
5.7.11
Browse files Browse the repository at this point in the history
- Do not treat subdomains ss base domains in SPF `a` mechanisms (Close [#151](#155))
  • Loading branch information
seanthegeek committed Dec 26, 2024
1 parent 0e866ee commit 989dbe9
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -116,3 +116,5 @@ output/

# ignore data files
*.dat

scratch.py
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Changelog
=========

5.7.11
------

- Do not treat subdomains ss base domains in SPF `a` mechanisms (Close [#151](https://github.com/domainaware/checkdmarc/issues/155))

5.7.10
------

Expand Down
2 changes: 1 addition & 1 deletion checkdmarc/_constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
See the License for the specific language governing permissions and
limitations under the License."""

__version__ = "5.7.10"
__version__ = "5.7.11"

OS = platform.system()
OS_RELEASE = platform.release()
Expand Down
2 changes: 1 addition & 1 deletion checkdmarc/spf.py
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ def parse_spf_record(
if value == "":
value = domain
cidr = None
value = domain.split("/")
value = value.split("/")
value = value[0]
if len(value) == 2:
cidr = value[1]
Expand Down

0 comments on commit 989dbe9

Please sign in to comment.