the-tip-top-backend/src
soufiane a7f82b1215 fix: replace vulnerable email regex with safe alternatives
- Update isValidEmail in helpers.js with secure non-backtracking regex
- Use isValidEmail helper in auth.controller.js
- Use isValidEmail helper in contact.controller.js
- Replace regex with Zod .email() in newsletter.validation.js
- Fixes 5 SonarQube Security Hotspots for DoS via backtracking

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-05 15:03:36 +01:00
..
config fix: load environment-specific .env files based on NODE_ENV 2025-12-02 17:41:15 +01:00
controllers fix: replace vulnerable email regex with safe alternatives 2025-12-05 15:03:36 +01:00
middleware fix: resolve test failures in CI pipeline 2025-11-27 12:05:00 +01:00
routes feat: add email check endpoint and fix email service 2025-12-02 16:16:09 +01:00
services fix: change welcome email button text color to black 2025-12-02 21:48:07 +01:00
utils fix: replace vulnerable email regex with safe alternatives 2025-12-05 15:03:36 +01:00
validations fix: replace vulnerable email regex with safe alternatives 2025-12-05 15:03:36 +01:00