We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d453cdb commit 245358bCopy full SHA for 245358b
1 file changed
backend/api/validation.rs
@@ -246,11 +246,14 @@ mod tests {
246
"\"\"@example.com",
247
"\"user-with\nline-break\"@example.com",
248
"\"user-with-unbalanced\"quotes\"@example.com",
249
+ "user-with-\"balanced-quotes\"-in-middle@example.com",
250
"user-with\\backslash@example.com",
251
"user-with-unquoted-escaped\\ special-character@example.com",
252
// While technically allowed by RFC 5322, the following forms aren't allowed by RFC 5321
253
// and aren't required by any standards-compliant mail server, so there's no reason to
254
// allow them. Users submitting these are most likely trying to break things.
255
+ "\"user\".name@example.com",
256
+ "user.\"name\"@example.com",
257
"\"user\".\"name\"@example.com",
258
" user.name@example.com",
259
"user .name@example.com",
0 commit comments