Blacklist apexgunparts.space for newsletter subscriptions#1267
Merged
Conversation
Copilot created this pull request from a session on behalf of
mbifulco
June 13, 2026 12:17
View session
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the newsletter anti-spam domain filtering to consistently treat apexgunparts.space as a blocked domain, ensuring blocked-domain behavior is applied across all subscription paths that rely on emailIsBad(...).
Changes:
- Added
apexgunparts.spaceto the centralizedBAD_DOMAINSblacklist. - Added unit tests to verify
emailIsBad(...)flags the new domain. - Added unit tests to verify
fakeSubscribe(...)andsubscribe(...)return the existing “fake success” responses for the new blocked domain.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| src/utils/resend.ts | Adds apexgunparts.space to the shared newsletter spam-domain blacklist. |
| src/utils/resend.test.ts | Extends unit tests to cover the new blocked domain across emailIsBad, fakeSubscribe, and subscribe. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Spam signups were coming from
apexgunparts.space, which was not covered by existing domain-based filtering. This PR extends the newsletter spam-domain blacklist to block that domain consistently across subscription paths.Blacklist update
apexgunparts.spaceto the centralizedBAD_DOMAINSlist used by newsletter subscription filtering.Behavior coverage
emailIsBad(...)fakeSubscribe(...)subscribe(...)(returns the same fake-success response used for blocked domains)