AUR web interface

Tasklist

FS#12269 - can not use + in email

Attached to Project: AUR web interface
Opened by Sergej Pupykin (sergej) - Friday, 28 November 2008, 14:53 GMT
Last edited by Callan Barrett (wizzomafizzo) - Thursday, 25 December 2008, 12:46 GMT
Task Type Bug Report
Category Backend
Status Closed
Assigned To Loui Chang (louipc)
Callan Barrett (wizzomafizzo)
Architecture All
Severity Low
Priority Normal
Reported Version 1.5.1
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

I try to change my email to pupykin.s+aur@gmail.com and it failed.

I suggest to modify lib/aur.inc:valid_email() function

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

more over, while I try to change my email I drop my TU rights. Not sure if I accidentially change combobox or it is another bug. Please give me TU status back :)
This task depends upon

Closed by  Callan Barrett (wizzomafizzo)
Thursday, 25 December 2008, 12:46 GMT
Reason for closing:  Fixed
Comment by Allan McRae (Allan) - Friday, 28 November 2008, 15:00 GMT
Given you TU rights again.
Comment by Sergej Pupykin (sergej) - Friday, 28 November 2008, 16:06 GMT
thanks
Comment by eliott (cactus) - Sunday, 21 December 2008, 10:02 GMT
here is a valid regex to parse email addresses.
http://ex-parrot.com/~pdw/Mail-RFC822-Address.html
Comment by Loui Chang (louipc) - Sunday, 21 December 2008, 22:43 GMT
Patch is in git to allow special characters in the email.
Comment by Aaron Griffin (phrakture) - Monday, 22 December 2008, 16:53 GMT
I love that email regex! I've used one just as bonkers before. Man... email is nutty

Loading...