- 🇨🇦Canada colan Toronto 🇨🇦
I think it is an edge case that someone would intentionally enter in the same email address using different cases.
True.
The issue is not about modifying user's data, its about validation.
Also true.
What hasn't been mentioned here is that the part before the "@" could be case sensitive if mail servers are configured that way (see discussion), even though it's silly. So leaving this closed for that reason isn't crazy.
However, if I were to post a patch here, I'd be using
strcasecmp()
, notstrtolower()
. 😉