Filesystems and case-insensitivity
Filesystems and case-insensitivity
Posted Dec 7, 2018 11:09 UTC (Fri) by Wol (subscriber, #4433)In reply to: Filesystems and case-insensitivity by ScottMinster
Parent article: Filesystems and case-insensitivity
Because you're a programmer used to thinking in byte strings.
I *still* have problems because users insist on knowing whether email addresses have capital letters or not (they are case-insensitive, for historical reasons, because a lot of the early systems mangled case).
So the short answer is, YOU may not feel the gain, but a lot of other people WILL.
(Along the same lines, I remember being sent a second copy of some newsletter because "some people said they couldn't read the attachment". Ie pretty much all Windows systems, because the sender had somehow lost the extension and those systems didn't recognise the file "newsletter" as a pdf. Of course, my gentoo system didn't give a monkeys :-)
Cheers,
Wol
Posted Dec 7, 2018 11:45 UTC (Fri)
by gioele (subscriber, #61675)
[Link] (2 responses)
These users are right: the local-part of an email address _is_ case sensitive. Only the domain is case insensitive.
RFC 5321, section 2.4 [1]:
> The local-part of a mailbox MUST BE treated as case sensitive. Therefore, SMTP implementations MUST take care to preserve the case of mailbox local-parts. In particular, for some hosts, the user "smith" is different from the user "Smith". However, exploiting the case sensitivity of mailbox local-parts impedes interoperability and is discouraged. Mailbox domains follow normal DNS rules and are hence not case sensitive.
Posted Dec 7, 2018 16:31 UTC (Fri)
by smurf (subscriber, #17840)
[Link] (1 responses)
Posted Dec 8, 2018 23:37 UTC (Sat)
by zlynx (guest, #2285)
[Link]
> lowercase_local:
Filesystems and case-insensitivity
Filesystems and case-insensitivity
Filesystems and case-insensitivity
> driver = redirect
> data = ${lc:${local_part}}