Closed sangharshgautam closed 1 month ago
I think it is implemented based on common sense. I haven't seen any email username longer than 64, do you have any use case that deals with longer email? If there is a valid use case, we can adjust the validation rule. Thanks.
RFC 5321 in section 4.5.3.1.1
The maximum total length of a user name or other local-part is 64 octets.
Hi,
I see that the EmailValidator is limiting the user length in an email to be less than or equal to 64 Ref,
I was wondering if there is a reference to any standard being used here.
The RFC 4.1.2 listed on on https://json-schema.org/understanding-json-schema/reference/string#built-in-formats) does not suggest any such limitation.
Please can you advice as this is being reported as a bug in our application which uses json-schema-validator library,
Best regards, Sangharsh