You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: improve contact form spam detection and webhook reliability (#908)
* fix: adjust spam detection threshold to reduce false positives
Increased spam score threshold from 3 to 5 to avoid flagging legitimate
submissions from users with free email addresses and short company names
(e.g., IBM, HP). Now requires stronger combination of spam indicators
before flagging.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>
* feat: add webhook retry logic and improve reliability
- Add fetchWithRetry() with 3 attempts and exponential backoff (500ms, 1s, 2s)
- Treat Feishu webhooks as fire-and-forget to prevent blocking submissions
- Require Slack webhook to succeed before showing success to user
- Prevent duplicate submissions by only allowing retry when all webhooks fail
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>
* fix: improve error handling and email validation
- Add fallback for malformed email addresses without @ symbol
- Treat invalid email format as spam indicator (2 points)
- Add explicit try-catch for Slack webhook errors
- Use void keyword for fire-and-forget Feishu webhooks
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>
---------
Co-authored-by: Claude <[email protected]>
0 commit comments