Modify

Opened 14 years ago

Closed 7 years ago

#8829 closed enhancement (duplicate)

allow user name with email

Reported by: Steven R. Loomis Owned by: Max Stewart
Priority: normal Component: TracTicketValidatorPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

not just u@… but Some User <u@…>

Index: ticketvalidator/ticketvalidator.py
===================================================================
--- ticketvalidator/ticketvalidator.py	(revision 10228)
+++ ticketvalidator/ticketvalidator.py	(working copy)
@@ -91,5 +91,7 @@
         if len(email) > 7:
             if re.match("^[a-zA-Z0-9._%-]+@[a-zA-Z0-9._%-]+\.[a-zA-Z]{2,6}$", email) != None:
                 return True
+            if re.match("^[^<]*<[a-zA-Z0-9._%-]+@[a-zA-Z0-9._%-]+\.[a-zA-Z]{2,6}>$", email) != None:
+                return True
         return False
 

Attachments (0)

Change History (2)

comment:1 Changed 7 years ago by Ryan J Ollos

Component: TicketValidatorPluginTracTicketValidatorPlugin
Type: defectenhancement

comment:2 Changed 7 years ago by Ryan J Ollos

Resolution: duplicate
Status: newclosed

Duplicate of #7022.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Max Stewart.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.