dnscontrol/pkg/spflib
Jenn Wheeler 8470260ff1
BUGFIX: fix regression on a mechanism parts (#3994)
819253a5b0
seems to have caused a regression in the parsing of `a` mechanism SPF
parts, e.g. a part like `a:something.wm.edu` would now return `ERROR:
unsupported SPF part a:something.wm.edu`. This reverts back to the use
`HasPrefix` to prevent those parts from erroring.

Parsing this way wouldn't error on bad parts like
`asdf:something.wm.edu`, so maybe a larger fix is needed, but for now
just fixing the regression seemed simplest.
2026-01-21 12:54:51 -05:00
..
flatten.go REFACTOR: Run moderize -fix (#3908) 2025-12-09 14:23:26 -05:00
flatten_test.go Fix broken test 2021-03-01 20:48:29 -05:00
parse.go BUGFIX: fix regression on a mechanism parts (#3994) 2026-01-21 12:54:51 -05:00
parse_test.go FEATURE: Optionally disable spfcache.json (#3765) 2025-09-13 12:23:46 -04:00
resolver.go FEATURE: Optionally disable spfcache.json (#3765) 2025-09-13 12:23:46 -04:00
testdata-dns1.json moving a bunch of packages under pkg (#124) 2017-05-25 14:25:39 -04:00