Last modified: 2011-03-13 18:04:51 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T29061, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 27061 - System does not validate the 'Email' field properly in the 'User preferences'
System does not validate the 'Email' field properly in the 'User preferences'
Status: RESOLVED WONTFIX
Product: MediaWiki
Classification: Unclassified
User preferences (Other open bugs)
1.17.x
PC Windows XP
: Lowest normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-01-31 10:29 UTC by Nadeesha
Modified: 2011-03-13 18:04 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Nadeesha 2011-01-31 10:29:13 UTC
Steps to reproduce:
1. Logged in user navigates to wiki media main page.
2. Click on the 'User preferences' link.
3. Enter invalid email address to the 'E-mail (optional)*' field. (Eg. test@test)
4. Click on the 'Save' button.

Actual results:
System accepts the email address and 'A confirmation e-mail has been sent to the nominated e-mail address...' message displayed.

Expected results:
'The e-mail address cannot be accepted as it appears to have an invalid format. Please enter a well-formatted address or empty that field.' message should displayed.

URL : http://prototype.wikimedia.org/rc-en/index.php/Main_Page
Version : 1.17alpha (r80667)
Comment 1 Sam Reed (reedy) 2011-01-31 10:30:53 UTC
test@test is actually a valid email, to the extent if it was on the local network
Comment 2 Mark A. Hershberger 2011-01-31 17:21:54 UTC
To determine if an email was actually valid, we would have to actually start an SMTP connect to see if the address would be received or not.
Comment 3 Mark A. Hershberger 2011-01-31 17:23:03 UTC
I'm thinking this sort of check could and should be written as an extension.
Comment 4 Andrew Garrett 2011-01-31 22:38:09 UTC
The confirmation email is the validation check step. The correct way to validate an email address is to try to send email to it.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links