• erio's avatar
    fix: round 3 audit fixes - SMTP header sanitization and goroutine safety · b1875f0b
    erio authored
    - Move sanitizeEmailHeader to SendEmailWithConfig entry point, covering all
      email senders (verify code, password reset, ops alerts, notifications)
    - Add panic recovery to UpdateBalance goroutine
    - Fix stale comment in getAccountQuotaNotifyEmails (email="" no longer used)
    - Log error instead of silently discarding verifyNotifyCode cache update failure
    b1875f0b
balance_notify_service.go 16.4 KB