[jira] Commented: (VALIDATOR-190) EmailValidator allows control characters (ASCII 0-31)

2006-06-03 Thread Gabriel Belingueres (JIRA)
[ 
http://issues.apache.org/jira/browse/VALIDATOR-190?page=comments#action_12414623
 ] 

Gabriel Belingueres commented on VALIDATOR-190:
---

Hi Cott,

I found this other link on the net that may be helpful. Apparently, there are 
some more chars that should be forbidden/discouraged to use in the local part 
of the email address.

It may be worth take a look at it: 
http://www.remote.org/jochen/mail/info/chars.html

Gabriel


 EmailValidator allows control characters (ASCII 0-31)
 -

  Key: VALIDATOR-190
  URL: http://issues.apache.org/jira/browse/VALIDATOR-190
  Project: Commons Validator
 Type: Bug

 Versions: 1.3.0 Release
 Reporter: Cott
 Priority: Minor


 EmailValidator allows ASCII 0 - 31 in an email address.
 According to RFC 821, these are forbidden.
 import org.apache.commons.validator.EmailValidator;
 public class Test {
   public static void main(String[] args) {
 EmailValidator ev = EmailValidator.getInstance();
 String email =[EMAIL PROTECTED];
 System.err.println(ev.isValid(email));
   }
 }

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Commented: (VALIDATOR-190) EmailValidator allows control characters (ASCII 0-31)

2006-06-01 Thread Gabriel Belingueres (JIRA)
[ 
http://issues.apache.org/jira/browse/VALIDATOR-190?page=comments#action_12414348
 ] 

Gabriel Belingueres commented on VALIDATOR-190:
---

Hi,

RFC 821 is obsoleted by RFC 2821
.
I found this one on the net what may be worth looking: RFC 2822 (Internet 
Message format) and RFC 2234 (Augmented BNF).

However it may well be a lot easier to post a question on the Apache Web server 
list.

Gabriel

 EmailValidator allows control characters (ASCII 0-31)
 -

  Key: VALIDATOR-190
  URL: http://issues.apache.org/jira/browse/VALIDATOR-190
  Project: Commons Validator
 Type: Bug

 Versions: 1.3.0 Release
 Reporter: Cott
 Priority: Minor


 EmailValidator allows ASCII 0 - 31 in an email address.
 According to RFC 821, these are forbidden.
 import org.apache.commons.validator.EmailValidator;
 public class Test {
   public static void main(String[] args) {
 EmailValidator ev = EmailValidator.getInstance();
 String email =[EMAIL PROTECTED];
 System.err.println(ev.isValid(email));
   }
 }

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Commented: (VALIDATOR-190) EmailValidator allows control characters (ASCII 0-31)

2006-06-01 Thread Cott (JIRA)
[ 
http://issues.apache.org/jira/browse/VALIDATOR-190?page=comments#action_12414353
 ] 

Cott commented on VALIDATOR-190:


I read RFC 2821 and RFC 2822 as also forbidding control characters in email 
addresses as well. Maybe I'm just delusional after an exceptionally long week? 
:)





 EmailValidator allows control characters (ASCII 0-31)
 -

  Key: VALIDATOR-190
  URL: http://issues.apache.org/jira/browse/VALIDATOR-190
  Project: Commons Validator
 Type: Bug

 Versions: 1.3.0 Release
 Reporter: Cott
 Priority: Minor


 EmailValidator allows ASCII 0 - 31 in an email address.
 According to RFC 821, these are forbidden.
 import org.apache.commons.validator.EmailValidator;
 public class Test {
   public static void main(String[] args) {
 EmailValidator ev = EmailValidator.getInstance();
 String email =[EMAIL PROTECTED];
 System.err.println(ev.isValid(email));
   }
 }

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]