(subject: string)
| 4 | import { getFromEmailAddress, hasEmailHeaderControlChars } from '@/lib/messaging/email/utils' |
| 5 | |
| 6 | function sanitizeEmailSubject(subject: string): string { |
| 7 | return subject.replace(/[\r\n]+/g, ' ').trim() |
| 8 | } |
| 9 | |
| 10 | interface UnsubscribeInjection { |
| 11 | headers: Record<string, string> |
no test coverage detected