Commit 8470260
authored
BUGFIX: fix regression on a mechanism parts (#3994)
819253a
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.1 parent 32f3d3e commit 8470260
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| |||
0 commit comments