Skip to content

Commit 8ddf1f7

Browse files
atergaclaude
andcommitted
feat: increase max email headers from 10 to 30
Real-world emails commonly exceed 10 headers. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent bdd9a40 commit 8ddf1f7

File tree

1 file changed

+1
-1
lines changed
  • src/internet_identity_interface/src/internet_identity/types

1 file changed

+1
-1
lines changed

src/internet_identity_interface/src/internet_identity/types/smtp.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ pub const MAX_EMAIL_USER_BYTES: usize = 64;
77
pub const MAX_EMAIL_DOMAIN_BYTES: usize = 255;
88
pub const MAX_SUBJECT_BYTES: usize = 256;
99
pub const MAX_BODY_BYTES: usize = 5_000;
10-
pub const MAX_HEADERS: usize = 10;
10+
pub const MAX_HEADERS: usize = 30;
1111
pub const MAX_HEADER_NAME_BYTES: usize = 256;
1212
pub const MAX_HEADER_VALUE_BYTES: usize = 8_192;
1313
pub const MAX_EMAILS_PER_USER: usize = 10;

0 commit comments

Comments
 (0)