DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17420>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17420

MailAddress class accepts addresses with ��� characters





------- Additional Comments From [EMAIL PROTECTED]  2003-02-26 14:22 -------
According to this,

when no quoted, we are alowed to use
Chars 32-126, without blanks and without specials

When quoted, we are allowed to use
Chars 32-126, without blanks, but WITH specials

So it seems that my patch is almost correct.
The only correction is >= 127 instead of > 127


RFC 822

6.1.  SYNTAX

     address     =  mailbox                      ; one addressee
                 /  group                        ; named list

     mailbox     =  addr-spec                    ; simple address
                 /  phrase route-addr            ; name & addr-spec

     addr-spec   =  local-part "@" domain        ; global address

     local-part  =  word *("." word)             ; uninterpreted
                                                 ; case-preserved

 D.  ALPHABETICAL LISTING OF SYNTAX RULES

atom        =  1*<any CHAR except specials, SPACE and CTLs>
word        =  atom / quoted-string
CHAR        =  <any ASCII character>        ; (  0-177,  0.-127.)
CTL         =  <any ASCII control           ; (  0- 37,  0.- 31.)
                character and DEL>          ; (    177,     127.)

specials    =  "(" / ")" / "<" / ">" / "@"  ; Must be in quoted-
            /  "," / ";" / ":" / "\" / <">  ;  string, to use
            /  "." / "[" / "]"              ;  within a word.

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

Reply via email to