tanyjnaaman / pe

0 stars 0 forks source link

Capitalization is permitted in ".com" (later) part of emails #1

Open tanyjnaaman opened 2 years ago

tanyjnaaman commented 2 years ago

image.png

In this example, .Com is permitted. Expectation would be that a warning would be released, or this is not permitted as a valid email format.

nus-se-bot commented 2 years ago

Team's Response

This is not a bug.

According to the official email standards by RFC 5321 Section 2.3.5, there is no specification that email domains are case sensitive. In fact, the email provided in your example is a valid email.

The official standards only states that "A domain name (or often just a "domain") consists of one or more components, separated by dots if more than one appears. In the case of a top-level domain used by itself in an email address, a single string is used without any dots."

Another explanation is provided in this stack overflow answer, which screenshot is also provided below.

image.png

Items for the Tester to Verify

:question: Issue response

Team chose [response.Rejected]

Reason for disagreement: [replace this with your explanation]