#12005: django.forms.fields.email_re doesn't handle single-letter subdomains
-------------------------------+--------------------------------------------
          Reporter:  Gumnos    |         Owner:  djansoft                       
       
            Status:  closed    |     Milestone:  1.2                            
       
         Component:  Forms     |       Version:  SVN                            
       
        Resolution:  invalid   |      Keywords:  email_re subdomain speed 
single letter
             Stage:  Accepted  |     Has_patch:  1                              
       
        Needs_docs:  0         |   Needs_tests:  0                              
       
Needs_better_patch:  0         |  
-------------------------------+--------------------------------------------
Changes (by djansoft):

  * status:  new => closed
  * resolution:  => invalid

Comment:

 It isn't clear if this ticket refers to 2nd level or 3rd level domains.
 Also, it isn't clear if with "caught" it means single-letter subdomains
 should be valid or rejected.  In any case:

 Single-letter 2nd level domains are valid:
 http://en.wikipedia.org/wiki/Single-letter_second-level_domain
 #Active_single-letter_domains

 Single-letter 3rd level domains are valid too: #1275

 In both cases, Django forms is working as expected.  Please see attached
 diff for tests.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/12005#comment:5>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to