netcarver Posted October 19, 2012 Share Posted October 19, 2012 (edited) Well, I'm weird because I have several email addresses that have dashes in them in the local domain part (before after the @). This is perfectly legit and my email addresses certainly work. However, PW's email input field always seems to complain if I try entering one of these dashed emails into it. I haven't tried it yet with PW, but '+' can turn up occasionally in gmail addresses. Any chance that we could support weirdos like me with the email input field? Edited to correct mistake. Edited October 19, 2012 by netcarver Link to comment Share on other sites More sharing options...
ryan Posted October 19, 2012 Share Posted October 19, 2012 ProcessWire doesn't do any sanitization/validation beyond that from PHP's filter_var(FILTER_SANITIZE_EMAIL | FILTER_VALIDATE_EMAIL); I went in and tried addresses like ryan-@domain.com and ryan+cramer@domain.com and ry+an-@domain.com, but it accepted all of them (FieldtypeEmail / InputfieldEmail). I might need another example from you to reproduce the issue with? Link to comment Share on other sites More sharing options...
netcarver Posted October 19, 2012 Author Share Posted October 19, 2012 Ryan, apologies, my mistake when typing the above, I meant in the domain part. I'll strike that error out and correct it in the opening post. Link to comment Share on other sites More sharing options...
netcarver Posted October 19, 2012 Author Share Posted October 19, 2012 Ok, not sure what's going on as I tried it again and it does work. I might have left the .com off the end of my domain previously. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now