[Bug 22449] MediaWiki should do validation of e-mail addresses

2011-01-24 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=22449

--- Comment #17 from Aryeh Gregor simetrical+wikib...@gmail.com 2011-01-24 
12:50:30 UTC ---
As it happens, a matching change was made in the HTML5 specification:

http://www.w3.org/Bugs/Public/show_bug.cgi?id=11225

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 22449] MediaWiki should do validation of e-mail addresses

2011-01-21 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=22449

Ashar Voultoiz has...@free.fr changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED

--- Comment #15 from Ashar Voultoiz has...@free.fr 2011-01-21 18:03:08 UTC ---
I have altered the regexp so the second part is 0 to n elements instead of at
least 1.

See: r80694

I am assuming this issue is fixed in MediaWiki regardless of the w3.org
specification.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 22449] MediaWiki should do validation of e-mail addresses

2011-01-21 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=22449

Ashar Voultoiz has...@free.fr changed:

   What|Removed |Added

 Status|RESOLVED|CLOSED

--- Comment #16 from Ashar Voultoiz has...@free.fr 2011-01-22 00:08:28 UTC ---
Merged in 1.17 by Roan with r80722.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 22449] MediaWiki should do validation of e-mail addresses

2011-01-20 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=22449

--- Comment #14 from Ashar Voultoiz has...@free.fr 2011-01-20 22:07:52 UTC ---
It is on my TODO list, hopefully this week-end if time allow.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 22449] MediaWiki should do validation of e-mail addresses

2011-01-16 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=22449

Ashar Voultoiz has...@free.fr changed:

   What|Removed |Added

 Blocks||26676

--- Comment #11 from Ashar Voultoiz has...@free.fr 2011-01-16 09:37:17 UTC ---
Marking bug as blocking MediaWiki 1.17 release tarball (bug 26676).

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 22449] MediaWiki should do validation of e-mail addresses

2011-01-07 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=22449

Reedy s...@reedyboy.net changed:

   What|Removed |Added

   Keywords||upstream
   See Also||http://www.w3.org/Bugs/Publ
   ||ic/show_bug.cgi?id=11225

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 22449] MediaWiki should do validation of e-mail addresses

2011-01-07 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=22449

--- Comment #10 from Reedy s...@reedyboy.net 2011-01-07 19:33:26 UTC ---
r75876, r75862, r75627 marked as resolved with this bug being tagged upstream
and remote bug logged

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 22449] MediaWiki should do validation of e-mail addresses

2010-12-09 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=22449

Aryeh Gregor simetrical+wikib...@gmail.com changed:

   What|Removed |Added

 CC||nade...@gmail.com

--- Comment #9 from Aryeh Gregor simetrical+wikib...@gmail.com 2010-12-10 
00:11:34 UTC ---
*** Bug 26287 has been marked as a duplicate of this bug. ***

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 22449] MediaWiki should do validation of e-mail addresses

2010-10-28 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=22449

Ashar Voultoiz has...@free.fr changed:

   What|Removed |Added

 CC||has...@free.fr

--- Comment #7 from Ashar Voultoiz has...@free.fr 2010-10-28 21:02:39 UTC ---
r75627 adds a very simple email validator helper. Does not enforce anything
though.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 22449] MediaWiki should do validation of e-mail addresses

2010-10-28 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=22449

Aryeh Gregor simetrical+wikib...@gmail.com changed:

   What|Removed |Added

 CC||simetrical+wikib...@gmail.c
   ||om

--- Comment #8 from Aryeh Gregor simetrical+wikib...@gmail.com 2010-10-28 
23:17:58 UTC ---
HTML5 has a good real-world definition:

http://www.whatwg.org/specs/web-apps/current-work/multipage/states-of-the-type-attribute.html#valid-e-mail-address

It works out to something like

^$username_ch...@$domain_char+(\.$domain_char+)+$

where

$username_char = [-a-zA-Z0-9!#$%\'*+/=?^_`{|}~.];
$domain_char = [-a-zA-Z0-9]

I did some research on how overly restrictive this definition was in practice,
using an older and more restrictive definition:

http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-August/00.html

It looks like it will be fine, at least for English users.  Almost none would
be affected if we did some sanitization (e.g., to fix up stuff like Foo
f...@bar.example).  I've been meaning to do some more testing on the databases
to see if other languages might be affected more, but never got around to it. 
If obviously bogus addresses are causing problems, then we may as well go ahead
with it.  It's a pretty trivial change to get MediaWiki to reject these on the
server side.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 22449] MediaWiki should do validation of e-mail addresses

2010-10-26 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=22449

Brandon Harris bhar...@wikimedia.org changed:

   What|Removed |Added

 CC||bhar...@wikimedia.org

--- Comment #6 from Brandon Harris bhar...@wikimedia.org 2010-10-26 06:12:03 
UTC ---
So, I looked into this recently for an extension.  I've been running for years
with a specific regex to check for email validity but it doesn't handle
everything.

The problem is all sorts of exceptions to four billion RFCs (such as allowing
+ characters, etc.).  The best I've seen is this:
http://www.dominicsayers.com/isemail/ but it is pretty hard core.  I'm not sure
if doing anything *less* is worthwhile.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 22449] MediaWiki should do validation of e-mail addresses

2010-10-25 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=22449

Tomasz Finc tf...@wikimedia.org changed:

   What|Removed |Added

 CC||tf...@wikimedia.org

--- Comment #5 from Tomasz Finc tf...@wikimedia.org 2010-10-26 05:58:29 UTC 
---
This would be especially nice since it's very easy to copy and paste an email
address for a new user with extraneous markup such as 'Name
n...@wikimedia.org' which upon passwordless account creation will trigger a
'mailing error' and leave the user in a tricky state.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 22449] MediaWiki should do validation of e-mail addresses

2010-02-09 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=22449

Mike.lifeguard mike.lifegu...@gmail.com changed:

   What|Removed |Added

 CC||mike.lifegu...@gmail.com

--- Comment #1 from Mike.lifeguard mike.lifegu...@gmail.com 2010-02-09 
15:34:09 UTC ---
(In reply to comment #0)
 apostrophe (@)...
 at least check if the address contains an apostrophe.

apostophe = '
at symbol = @

couldn't help myself :(

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are watching all bug changes.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 22449] MediaWiki should do validation of e-mail addresses

2010-02-09 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=22449

--- Comment #2 from Mark Bergsma m...@nedworks.org 2010-02-09 15:45:02 UTC ---
Haha, right. I guess the dutch word 'apestaartje' (@) tricked me there. ;)

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are watching all bug changes.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 22449] MediaWiki should do validation of e-mail addresses

2010-02-09 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=22449

OverlordQ overlo...@gmail.com changed:

   What|Removed |Added

 CC||overlo...@gmail.com

--- Comment #3 from OverlordQ overlo...@gmail.com 2010-02-09 15:53:39 UTC ---
We[1] did a poor-mans e-mail validation which simply split at the @ and checked
the host portion for MX/A, as regexs to check for valid addresses can[2] be
pretty nasty[3].

1 - http://toolserver.org/~acc/
2 - http://toolserver.org/~overlordq/regex.txt
3 - http://www.ex-parrot.com/pdw/Mail-RFC822-Address.html

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are watching all bug changes.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 22449] MediaWiki should do validation of e-mail addresses

2010-02-09 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=22449

--- Comment #4 from Chad H. innocentkil...@gmail.com 2010-02-10 03:51:12 UTC 
---
Cf the similar bug 959. As pointed out in comment #33, trying to check for full
RFC compliance is both difficult and unnecessary. 

However, it's been pointed out that some simple sanity checks (length,
obviously bogus characters) could at least be applied.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are watching all bug changes.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 22449] MediaWiki should do validation of e-mail addresses

2010-02-09 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=22449

Guillaume Paumier gpaum...@wikimedia.org changed:

   What|Removed |Added

 CC||gpaum...@wikimedia.org

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are watching all bug changes.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l