Matt Goodman

Hey MRH/TMTV folks.

I'm reporting what I consider a defect in the login process on the Apple TV.

I attempted my first login using the Apple TV app a couple of nights ago, using the dictation function on the Apple TV remote. The result was my email address in all upper case. Typically email addresses aren't case sensitive, so I ignored that. I put my password in manually, using the correct casing. This resulted in a login failure.

I next logged on my computer to confirm I remembered my credentials correctly. That was successful.

On a whim, I returned to the Apple TV and manually entered my email address in all lower case and entered my password as before. That login was successful.

I've never known email addresses to be case sensitive - the few code examples I've seen that handle email addresses usually downcase them prior to further processing.

Is this by design? Thanks!

Matt

Matt Goodman
Columbus, OH, US
--------------------------
MRH Blog
VI Tower Blog - Along the tracks in pre-war Circleville, Ohio
Why I Model Steam - Why steam locomotion is in my blood

Reply 0
joef

Emails case sensitive? Yes and no ..

Researching this topic on the web ...

Quote:

Are Emails Case Sensitive?
By Arch Last updated: November 21, 2018 Print 2

There is a lot of confusion over whether email addresses are case sensitive or not. Some say they are, while others claim that they aren’t. So, who is right? In this article we’ll take a look into whether email addresses are case sensitive or case insensitive.

WHAT MAKES AN EMAIL ADDRESS?
An email address is made up of three parts – the local part (also known as username), the @ sign, and the domain part. Each part has its own role and is subject to its own set of rules. Here’s a quick overview.

According to the standard, the local part of the email address can be up to 64 characters long and can be made up of a limited set of characters. These include upper and lower case Latin alphabet letters, numbers from 0 to 9, dot, and special characters. The special characters include `!@#$%^&*()_-+=[]{}~. It is connected to the domain part with the @ sign.

The domain part can be up to 255 characters long. It can contain letters of the Latin alphabet (both lower and upper case), numbers from 0 to 9, and hyphen. The hyphen can’t start or end the domain part.

International symbols can also be used, though more on that later.

IS IT CASE SENSITIVE?
The correct answer to this question is both yes and no. According to RFC 5321, the local part of the email address is case sensitive. This means that, in theory, SoMething@something.com is not the same as something@something.com. However, email providers have the liberty to treat the local parts as both case sensitive and case insensitive.

For example, peter.peterson@something.com, PETER.peterson@something.com, and Peter.Peterson@something.com are theoretically different email addresses. It is easy to see how this could create problems and diminish user experience if a mail server opted to treat the local parts as case sensitive. Therefore, many providers treat the local part of the email address as case insensitive.

As for the domain part, RFC 1035 stipulates that it is always case insensitive. This means that you can write it in lower case, upper case, or any combination of the two and your email will end up at the same address. In practical use, something@sOmEtHiNg.com, something@Something.com, and something@something.com are the same email address.

CONCLUSION
Unlike the domain name part, the local part of an email address is case sensitive. That being said, many email providers choose to ignore the case sensitivity of the local part for practical reasons and encourage people to create emails with lower case characters only.

Joe Fugate​
Publisher, Model Railroad Hobbyist magazine

[siskiyouBtn]

Read my blog

Reply 0
Ken Rice

Case sensitivity in emails

Case sensitivity of email addresses, specifically the local part, is an area in which you just can’t win if you’re writing a web service.  It appears that the vast majority of email systems are not case sensitive, and people are not necessarily consistent in the case they use for their own emails when typing them in various places.  But there are a very few email systems that are case sensitive.

As a web service provider if you can pull it off, perhaps the ideal thing to do is preserve case for those times when you need to send an email back, but treat it as case insensitive for the purposes of finding duplicates, looking up things in caches or databases, etc.  The one thing you can be sure of is that whatever you do, it will cause some customer a problem sooner or later.  And then you’ll need to explain why you did it that way.

A discussion on stack overflow:  https://stackoverflow.com/questions/9807909/are-email-addresses-case-sensitive

Reply 0
Matt Goodman

Fair Enough

I’ll consider the login field as a login I’d, as opposed to an email address. The former I intuitively consider case sensitive.  
 

Thanks Joe and Ken. I’ve learned something today. 

Matt Goodman
Columbus, OH, US
--------------------------
MRH Blog
VI Tower Blog - Along the tracks in pre-war Circleville, Ohio
Why I Model Steam - Why steam locomotion is in my blood

Reply 0
Reply