#26423: Make EmailValidator use HTML5 validation rather than more complicated
regular expressions
-------------------------------------+-------------------------------------
     Reporter:  Tim Graham           |                    Owner:  Haris
         Type:                       |  Ibrahim K. V.
  Cleanup/optimization               |                   Status:  assigned
    Component:  Core (Other)         |                  Version:  master
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  1                    |      Needs documentation:  1
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Max Nordlund):

 I came across this today and realized that the current regexp, in 1.10.5,
 contains a type. At least I think it does, since the opening bracket of
 the second range in `user_regex` is escaped, but it shouldn't be.

 Anyway, I threw together a small PR to fix that, and I hope it can be
 merge to stable until this lands. I also added a bunch of new examples,
 and at the very least those should get slurped into the PR from Haris.

 See https://github.com/django/django/pull/8187

--
Ticket URL: <https://code.djangoproject.com/ticket/26423#comment:16>
Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.0823e7360d9f1db6f3b7408f34d77c62%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to