Code

Opened 6 years ago

Closed 6 years ago

#9668 closed (invalid)

valid email address is not accepted

Reported by: feuervogel Owned by: nobody
Component: contrib.admin Version: 1.0
Severity: Keywords: email, admin
Cc: jumo@… Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

when entering an email-address like

abc.@…

django-admin tells me this is not valid email address when entering it into an email field, but it is! there is a provider gmx (very popular in germany) where you can register an email-adress like this (the real address is not abc.@ but something different i can't tell because it's the address of a friend of mine).

Attachments (0)

Change History (1)

comment:1 Changed 6 years ago by kratorius

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to invalid
  • Status changed from new to closed

As defined in RFC 5322, an email address can't end with a dot. So the above email address is not valid, regardless of what the provider does. In case you need to accept email addresses like that, you can always subclass EmailField.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.