Closed
Bug 98468
Opened 23 years ago
Closed 23 years ago
Sample value for emailregexp allows empty user names
Categories
(Bugzilla :: Administration, task, P1)
Tracking
()
RESOLVED
FIXED
Bugzilla 2.16
People
(Reporter: alex, Assigned: justdave)
Details
Attachments
(1 file)
1.02 KB,
patch
|
jacob
:
review+
|
Details | Diff | Splinter Review |
In defparams.pl, the description of the emailregexp parameter is given as follows: 'This defines the regexp to use for legal email addresses. The default tries to match fully qualified email addresses. Another popular value to put here is <tt>^[^@]*$</tt>, which means "local usernames, no @ allowed.' If you use the given sample value for emailregexp, Bugzilla will accept an empty string as a valid user name. Also note the missing quote mark at the end of the string. I recommend changing the description to: 'This defines the regexp to use for legal email addresses. The default tries to match fully qualified email addresses. Another popular value to put here is <tt>^[^@]+$</tt>, which means "local usernames, no @ allowed."'
Assignee | ||
Comment 1•23 years ago
|
||
Assignee | ||
Comment 2•23 years ago
|
||
I noticed the default emailregexp for a full email address had exactly the same problem. This patch fixes both.
Comment 3•23 years ago
|
||
Comment on attachment 48400 [details] [diff] [review] Patch v1 r=jake No second review required.
Attachment #48400 -
Flags: review+
Assignee | ||
Comment 4•23 years ago
|
||
checked in.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
QA Contact: matty_is_a_geek → default-qa
You need to log in
before you can comment on or make changes to this bug.
Description
•