james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Noel J. Bergman" <n...@devtech.com>
Subject Case sensitivity "Bug"?
Date Mon, 18 Nov 2002 08:01:23 GMT
This isn't an RFC issue, but shouldn't these be case insensitive?

    public boolean matchRecipient(MailAddress recipient) {
        if (recipient.getHost().equals(listservAddress.getHost())) {
            if (recipient.getUser().equals(listservAddress.getUser() +
"-on")
                || recipient.getUser().equals(listservAddress.getUser() +
"-off")) {
                return true;
            }
        }
        return false;
    }

That is from CommandForListserv.java.  I just ran into a situation where a
user was sending e-mail to the list address with a different case than
expected.

	--- Noel


--
To unsubscribe, e-mail:   <mailto:james-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:james-dev-help@jakarta.apache.org>


Mime
View raw message