News for hackers. Stuff that matters.
Re:Hostnames and usernames to reserve by nitrogen on Friday November 27, 2015 @06:39PM (#10639368)
So instead of converting to lowercase, store them with case preserved but do a case insensitive uniqueness check (and probably allow any case for login).
Re:Hostnames and usernames to reserve by protomyth on Friday November 27, 2015 @07:09PM (#10639454)
or just force all lowercase and keep the support burden lower and save yourself a ton of trouble when dealing with foreign systems. Add a rule on incoming e-mail to convert all addresses for the local domain to lowercase to complete the package.
Re:Hostnames and usernames to reserve by nitrogen on Saturday November 28, 2015 @12:11AM (#10640103)
It probably depends on whether we're talking about making your own users, like the original link, or allowing users to interface with other systems, like entering an email address.
Re:Hostnames and usernames to reserve by edgarbob on Friday November 27, 2015 @09:27PM (#10639758)
Yes, this seems to be the right behavior for case-insensitive things like DNS names as well. If a user inputs one, preserve the case when you store it, but do case-insensitive comparisons.