View Issue Details

IDProjectCategoryView StatusLast Update
0011978mantisbtadministrationpublic2014-02-10 04:54
Reporterssturdiv Assigned Todregad  
PrioritylowSeverityminorReproducibilityalways
Status closedResolutionduplicate 
OSLinuxOS VersionRHEL 5.5 
Product Version1.2.1 
Summary0011978: 'user@localhost' not a valid email address.
Description

When email notifications are disabled (config_inc.php --> $g_enable_email_notification = OFF;) in an attempt to create a user with a blank password, first the form will error out (Application Error 0001200) if no email address is supplied.

Since no emails are to be sent, it's a bit odd that an email address is required. But no matter, changing it to "user@localhost" yields the same Application Error 0001200.

It is not until the email is changed to "user@localhost.com" that the user account is successfully created. This is odd because the default administrator account has an email address of 'root@localhost'.

Steps To Reproduce

Setup mantis to not send email notifications, enabling blank passwords for new user accounts:

Add '$g_enable_email_notification = OFF;' to config_inc.php

Create new user account:
Login as an administrator
Go to Manage --> Manage Users --> Create New Account
Insert a Username, Real Name, and leave 'E-Mail' blank.
Press 'Create User' button.
Press 'Use Empty Password' button on warning page.

Note the Application Error 0001200.

Now go back, create a new account, and now set 'E-mail' to 'user@localhost' and notice that it again fails.

TagsNo tags attached.

Relationships

duplicate of 0014453 closeddregad email validation regex does not accept addresses with single subdomain 
related to 0016894 closeddregad Don't allow invalid email addresses (e.g. fred@localhost) to be used when signing up 

Activities

There are no notes attached to this issue.