update
This commit is contained in:
@ -151,6 +151,7 @@ export class Email {
|
||||
if (!input) return '';
|
||||
|
||||
// Remove CR and LF characters to prevent header injection
|
||||
// But preserve all other special characters including Unicode
|
||||
return input.replace(/\r|\n/g, ' ');
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user