matomo-org/matomo

E-Mail addresses with special characters are not working

开放

#11,796 创建于 2017年6月15日

 (3 条评论) (0 个反应) (0 位负责人)PHP (2,894 个派生)batch import
BugHelp wanted

仓库指标

星标
 (21,803 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

If one tries to add a new user with the email address john's.email@example.com piwik returns The email doesn't have a valid format. even though the address is perfectly valid. A var_dump($emailAddress) in this line shows that the all special characters get converted to HTML entities.

  • john's.email@example.com => john's.email@example.com
  • "very.unusual.@.unusual.com"@example.com => "very.unusual.@.unusual.com"@example.com
  • !#$%&'*+-/=?^_{|}~@example.com => !#$%&'*+-/=?^_{|}~@example.com

贡献者指南