Menu

#39 Error using foo+bar@example.com emails

v1.0_(example)
open
nobody
None
6
2013-01-20
2013-01-20
Henri Salo
No

If user has foo+bar@example.com email and administrator tries to reset email error is given "Mail not accepted for" and this is in logs:

[Sun Jan 20 15:38:16 2013] [warn] [client 83.150.91.x] mod_fcgid: stderr: PHP Warning: htmlspecialchars(): Invalid multibyte sequence in argument in /var/www/userhome/fgeek/sites/fgeek.example.com/www/tests/phpgiftreg/templates_c/566f5794b6a64bbcb83596184b4ac30cafe28918.file.signup.tpl.php on line 93, referer: http://fgeek.kapsi.fi/tests/phpgiftreg/signup.php

phpgiftreg also tries to send email to "foo bar@example.com", which is huge mistake.

Discussion

  • Ryan Walberg

    Ryan Walberg - 2013-01-20

    I'll look into this. Not sure if I can do anything with PHP's mail() function -- I might have to switch to an internal or external library.

    http://en.wikipedia.org/wiki/Email_address#Address_tags

    The mail should go to foo@example.com at worst.

     
  • Henri Salo

    Henri Salo - 2013-01-20

    Thanks for replying. Either support foo+bar@ addresses fully or not at all. It is incorrect to send it to foo@. I know that other services support these addresses already. This is not a major issue, but should be fixed when you have some time.

     

Log in to post a comment.

MongoDB Logo MongoDB