Jump to content

Recommended Posts

Posted (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 by netcarver
Posted

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?

Posted

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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...