Changeset 164
- Timestamp:
- 07/23/07 14:14:11 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/jsmtpd/src/org/jsmtpd/core/mail/EmailAddress.java
r162 r164 59 59 mailPart=input.trim(); 60 60 61 if (!mailPart.matches("^[_A-Za-z0-9-+=* ]+(\\.[_A-Za-z0-9-+=*]+)*@[A-Za-z0-9-]+(\\.[A-Za-z0-9-]+)*$"))61 if (!mailPart.matches("^[_A-Za-z0-9-+=*#]+(\\.[_A-Za-z0-9-+=*#]+)*@[A-Za-z0-9-]+(\\.[A-Za-z0-9-]+)*$")) 62 62 throw new InvalidAddress(); 63 63
