Last modified: 2011-11-09 02:58:43 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 T34295, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 32295 - E-mail validation in Semantic MediaWiki has false negatives
E-mail validation in Semantic MediaWiki has false negatives
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-11-08 21:51 UTC by Olivier Finlay Beaton
Modified: 2011-11-09 02:58 UTC (History)
3 users (show)

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


Attachments

Description Olivier Finlay Beaton 2011-11-08 21:51:52 UTC
My organization uses Exchange and has some weird characters in email addresses.

For example: IT/TI-Support@company.com

SMW Email type rejects this email and won't display it.

I expected to be able to use % codes at worst.
http://en.wikipedia.org/wiki/Percent-encoding

IT%2FTI-Support@company.com also fails.

So I'd like the validation relaxes to account for craptacular Exchange, or an option to turn off validation completely (although a basic /^.+?@.+?\..+?$/ is still useful for me)

If someone can point me at where validation is made, I could probably make a patch file.
Comment 1 Jeroen De Dauw 2011-11-09 02:58:43 UTC
Thanks for reporting. I threw away SMWs regex and made use of MWs native email validation function when available or a fallback when using MW < 1.18.

Tested the email you provided, works now.

See r102486.

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


Navigation
Links