james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gabriel Bucher <gabriel.buc...@razor.ch>
Subject [PATCH] for Bug 2461
Date Fri, 03 Aug 2001 14:09:32 GMT
I had simular problems...

I tried different ways for mail addresses:
- a      -> StringIndexOutOfBoundsException
- a@     -> StringIndexOutOfBoundsException
- a@b    -> OK
- a@b.   -> StringIndexOutOfBoundsException
- a@b.c  -> OK

The following small patch will throw a ParseException instead of a
uncatched StringIndexOutOfBoundsException!

Question:
Is 'a@b.c.' a correct mail address?

Buchi
Mime
View raw message