Skip to content

BUGFIX: fix regression on a SPF parsing#3994

Merged
tlimoncelli merged 1 commit intoStackExchange:mainfrom
sourgrasses:main
Jan 21, 2026
Merged

BUGFIX: fix regression on a SPF parsing#3994
tlimoncelli merged 1 commit intoStackExchange:mainfrom
sourgrasses:main

Conversation

@sourgrasses
Copy link
Copy Markdown
Contributor

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.

@tlimoncelli
Copy link
Copy Markdown
Contributor

Thanks for finding and fixing this!

@tlimoncelli tlimoncelli merged commit 8470260 into StackExchange:main Jan 21, 2026
@tlimoncelli tlimoncelli changed the title BUGFIX: fix regression on a mechanism parts BUGFIX: fix regression on a SPF parsing Jan 21, 2026
@tlimoncelli
Copy link
Copy Markdown
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants