Article View: news.software.readers
Article #36679case sensitivity in email addresses
From: Stefan Haller
Date: Fri, 17 Oct 1997 00:00
Date: Fri, 17 Oct 1997 00:00
30 lines
1664 bytes
1664 bytes
My mail and news reader, MacSOUP, treats the local part of email addresses as case sensitive, and the domain part as case insensitive, as required. So it considers <xyz@host.domain> and <XYZ@host.domain> to be two different addresses. Now I just came across the following problem: when a user wants to cancel a news article, I compare the "From:" address of the article with the user's address (as supplied by the user; being on a Mac, I have no other way to get at the user's address) to find out if the user is allowed to cancel that article. What happened is this: a user entered his address as "xyz@host.domain"; when posting, my newsreader created a From: header with this address; the server (or rather, the gateway; it's an online service) rewrote the From: header as "Xyz@host.domain"; my newsreader won't allow that user to cancel his article. Now I'm wondering if I should just give in and always treat email addresses as case insensitive in their entirety. Any advice would be appreciated. -- Stefan Haller Berlin, Germany http://www.inx.de/~stk/
Technical Details
Message-ID:
<199710171144183305150N@n099h037.berlin.snafu.de>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.mail.headers.mbox.zip!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <199710171144183305150N@n099h037.berlin.snafu.de> Subject: case sensitivity in email addresses Date: Fri, 17 Oct 1997 00:00:00 +0000 From: stk@berlin.snafu.de (Stefan Haller) Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.mail.headers.mbox.zip!not-for-mail X-Deja-AN: 281171846 Mail-Copies-To: never Organization: none Newsgroups: comp.mail.headers,news.software.readers