Closed
Bug 96675
Opened 24 years ago
Closed 24 years ago
checksetup should require admin e-mail address satisfy emailregexp.
Categories
(Bugzilla :: Installation & Upgrading, defect, P1)
Tracking
()
RESOLVED
FIXED
Bugzilla 2.16
People
(Reporter: CodeMachine, Assigned: zach)
Details
Attachments
(2 files)
|
2.38 KB,
patch
|
justdave
:
review-
|
Details | Diff | Splinter Review |
|
1.86 KB,
patch
|
zach
:
review+
bbaetz
:
review+
|
Details | Diff | Splinter Review |
When checksetup.pl initialises an installation, it asks for the admin address.
I use a local user, since I don't have sendmail set up to do remote mailing.
Then it doesn't let that user log in because the address doesn't match
emailregexp. I think that part might not be new. I don't have a problem with
that behaviour - it shouldn't create the account in the first place.
Instead, if the admin account doesn't satisfy the default emailregexp, we should
write out a more lax emailregexp and emailregexpdesc. Optionally, we could
confirm this action out front.
| Reporter | ||
Updated•24 years ago
|
Priority: -- → P2
Target Milestone: --- → Bugzilla 2.16
| Reporter | ||
Updated•24 years ago
|
Component: Bugzilla → Administration
Product: Webtools → Bugzilla
Version: Bugzilla 2.13 → 2.13
| Reporter | ||
Comment 1•24 years ago
|
||
Oops wrong component. Reassigning too.
Assignee: justdave → zach
Component: Administration → Installation
Comment 2•24 years ago
|
||
This is going to be a blocker for the 2.16 release
Severity: normal → blocker
Priority: P2 → P1
| Assignee | ||
Comment 3•24 years ago
|
||
Comment 4•24 years ago
|
||
Comment on attachment 55418 [details] [diff] [review]
Patch to fix
Looks good to me. I'd give it first-review except that it has a MacBinary header on it so I can't apply it...
Attachment #55418 -
Attachment mime type: text/plain → application/x-macbinary
Attachment #55418 -
Flags: review-
Comment 5•24 years ago
|
||
| Assignee | ||
Comment 6•24 years ago
|
||
Comment on attachment 55419 [details] [diff] [review]
the above patch without the MacBinary header
has dave's 1st review
Attachment #55419 -
Flags: review+
Comment 7•24 years ago
|
||
Comment on attachment 55419 [details] [diff] [review]
the above patch without the MacBinary header
>
>+ unless ($login =~ /$mailcheckexp/) {
>+ print "\nThe login address must match the following pattern to be valid:\n";
>+ print "$mailcheck\n";
>+ die "Please try again\n";
Is the first line correct? You're not printing the pattern, you're printing a description
of a pattern. What about "The administrator's address is invalid.\n$mailcheck"? That matches
CheckEmailSyntax's text from CGI.pl
r=bbaetz in any case.
Attachment #55419 -
Flags: review+
| Assignee | ||
Comment 8•24 years ago
|
||
fix checked in
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Comment 9•23 years ago
|
||
I believe there is a problem with this patch, as it uses $::params rather than
$::param.
Comment 10•23 years ago
|
||
Ive raised the above problem as bug 133210.
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
•