3 ms·
The current email validation approach in MediaWiki allows for email addresses like "foo@bar", instead of "foo@bar.com". This ended up breaking unit tests at Wik
by languagehacker 13y ago
The current email validation approach in MediaWiki allows for email addresses like "foo@bar", instead of "foo@bar.com". This ended up breaking unit tests at Wikia when we upgraded versions last year.
I originally thought this was a bug. But if you think about it, MediaWiki is capable of being deployed on an internal network. An internal wiki actually could actually interact with email addresses only available in a given intranet server, and not reachable from a given TLD.
- Xylakant 13y agosome NICs or registrars (don't remember exactly) use <user>@<tld> as e-mail. That's valid, so you can get your scenario even on the wild internet :)