Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
18f242c4
Commit
18f242c4
authored
Mar 25, 2004
by
bugreport%peshkin.net
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 127862:Have sanitycheck.cgi use perl to evaluate email regexp
r=vlad,a=justdave
parent
151bd229
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
sanitycheck.cgi
sanitycheck.cgi
+4
-5
No files found.
sanitycheck.cgi
View file @
18f242c4
...
...
@@ -418,13 +418,12 @@ DoubleCrossCheck("milestones", "product_id", "value",
Status
(
"Checking profile logins"
);
my
$emailregexp
=
Param
(
"emailregexp"
);
$emailregexp
=~
s/'/\\'/g
;
SendSQL
(
"SELECT userid, login_name FROM profiles "
.
"WHERE login_name NOT REGEXP '"
.
$emailregexp
.
"'"
);
SendSQL
(
"SELECT userid, login_name FROM profiles"
);
while
(
my
(
$id
,
$email
)
=
(
FetchSQLData
()))
{
Alert
"Bad profile email address, id=$id, <$email>."
unless
(
$email
=~
m/$emailregexp/
)
{
Alert
"Bad profile email address, id=$id, <$email>."
}
}
###########################################################################
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment