You are not logged in.

#1 2008-05-25 16:55:37

MindlessXD
Member
Registered: 2007-11-08
Posts: 18

AUR registration rejecting valid email address

Apparently the pattern that's supposed to match email addresses for AUR registration doesn't match email addresses with '+' in the username portion.  I'd appreciate if this could be fixed.

edit: it should be as simple as replacing

web/lib/aur.inc:125

return eregi("^[a-z0-9\._-]+@+[a-z0-9\._-]+\.+[a-z]{2,4}$", $addy);

with

return preg_match('/([\w-+]+(?:\.[\w-+]+)*@(?:[\w-]+\.)+[a-zA-Z]{2,7})/', $addy);

which will match a wider variety of email addresses

Last edited by MindlessXD (2008-05-25 21:59:00)

Offline

#2 2008-05-25 23:35:38

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,398
Website

Re: AUR registration rejecting valid email address

You should post this to the aur-dev mailing list so this post does not get overlooked by the people working on the AUR.
http://www.archlinux.org/mailman/listinfo/

Offline

Board footer

Powered by FluxBB