{"action":"created","issue":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/7005","labels_url":"https://api.github.com/repos/joomla/joomla-cms/issues/7005/labels{/name}","comments_url":"https://api.github.com/repos/joomla/joomla-cms/issues/7005/comments","events_url":"https://api.github.com/repos/joomla/joomla-cms/issues/7005/events","html_url":"https://github.com/joomla/joomla-cms/pull/7005","id":79196452,"number":7005,"title":"Fixes email validation regular expressions","user":{"login":"smz","id":552475,"avatar_url":"https://avatars.githubusercontent.com/u/552475?v=3","gravatar_id":"","url":"https://api.github.com/users/smz","html_url":"https://github.com/smz","followers_url":"https://api.github.com/users/smz/followers","following_url":"https://api.github.com/users/smz/following{/other_user}","gists_url":"https://api.github.com/users/smz/gists{/gist_id}","starred_url":"https://api.github.com/users/smz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smz/subscriptions","organizations_url":"https://api.github.com/users/smz/orgs","repos_url":"https://api.github.com/users/smz/repos","events_url":"https://api.github.com/users/smz/events{/privacy}","received_events_url":"https://api.github.com/users/smz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/joomla/joomla-cms/labels/PR-staging","name":"PR-staging","color":"c7def8"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":36,"created_at":"2015-05-21T23:05:26Z","updated_at":"2015-05-24T12:23:42Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/joomla/joomla-cms/pulls/7005","html_url":"https://github.com/joomla/joomla-cms/pull/7005","diff_url":"https://github.com/joomla/joomla-cms/pull/7005.diff","patch_url":"https://github.com/joomla/joomla-cms/pull/7005.patch"},"body":"This fixes regular expressions used for email validation (see: #6982)\r\n\r\n---\r\nJoomla doesn't allow ```'``` char in user email, JFormRuleEmail pattern has ` but not '\r\n\r\nIt is allowed to have an apostrophe ' in the e-mail address by the RF5322 standard as long as it is an ASCII character.\r\n\r\nIrish email as example: `o'sullivan@example.com`"},"comment":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/comments/105009749","html_url":"https://github.com/joomla/joomla-cms/pull/7005#issuecomment-105009749","issue_url":"https://api.github.com/repos/joomla/joomla-cms/issues/7005","id":105009749,"user":{"login":"smz","id":552475,"avatar_url":"https://avatars.githubusercontent.com/u/552475?v=3","gravatar_id":"","url":"https://api.github.com/users/smz","html_url":"https://github.com/smz","followers_url":"https://api.github.com/users/smz/followers","following_url":"https://api.github.com/users/smz/following{/other_user}","gists_url":"https://api.github.com/users/smz/gists{/gist_id}","starred_url":"https://api.github.com/users/smz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smz/subscriptions","organizations_url":"https://api.github.com/users/smz/orgs","repos_url":"https://api.github.com/users/smz/repos","events_url":"https://api.github.com/users/smz/events{/privacy}","received_events_url":"https://api.github.com/users/smz/received_events","type":"User","site_admin":false},"created_at":"2015-05-24T12:23:42Z","updated_at":"2015-05-24T12:23:42Z","body":"Concerning Punycode and \"*international*\" content in email headers:\r\n\r\nPunycode should **only** be applied to domain names and **never** to the local part of en email address. This is a consequence of the IDNA standard, allowing international domain names (the \"D\" in IDNA is for *Domain*) without resorting to Unicode in the DNS. Of this I'm totally and positively sure.\r\n\r\nSupporting international names in the local part of an email address is a totally different affair and requires a transition to Unicode email headers. There is a reason why in my IDNA examples above I used an ASCII \"local part\"...\r\n\r\nIf we want to support international (i.e. Unicode) local parts there is much more we must do at very different levels, starting from being sure we have an Unicode enabled SMTP server under the hood, to completely review our validation rules which, at this time, allows only non Unicode local-parts.\r\n\r\nPlease have a look at: http://en.wikipedia.org/wiki/International_email"}}