Changeset 160
- Timestamp:
- 05/28/07 10:54:26 (2 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/jsmtpd/src/org/jsmtpd/core/mail/EmailAddress.java
r157 r160 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
