Closed Bug 58464 Opened 24 years ago Closed 24 years ago

editusers.cgi has hard-coded regex for logins

Categories

(Bugzilla :: Bugzilla-General, defect, P3)

Sun
Solaris
defect

Tracking

()

VERIFIED DUPLICATE of bug 32971

People

(Reporter: ken.bandes, Assigned: justdave)

Details

Bugzilla allows the admin to set a regular expression for logins (emailregexp). However, on line 378 in editusers.cgi, the following line appears: unless ($user =~ /^[^\@]+\@[^\@]+$/) { I've changed this locally to: my $emailregexp = Param('emailregexp'); unless ($user =~ /$emailregexp/) { I didn't use the 'o' option in case the parameter changes, but I might be wrong about that.
Whiteboard: 2.14
I was going to say this really should be a 2.12, and I went to actually put this into a patch file and discovered this has already been fixed. cvblame points to editusers.cgi v1.10 which checked in a patch that was submitted on bug 32971. *** This bug has been marked as a duplicate of 32971 ***
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
Whiteboard: 2.14
V.
Status: RESOLVED → VERIFIED
Assignee: tara → justdave
Component: Bugzilla → Bugzilla-General
Product: Webtools → Bugzilla
Version: other → unspecified
moving to Bugzilla product reassign to default owner/qa for INVALID/WONTFIX/WORKSFORME/DUPLICATE
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.