{"action":"opened","number":422,"pull_request":{"url":"https://api.github.com/repos/flask-restful/flask-restful/pulls/422","id":32350628,"html_url":"https://github.com/flask-restful/flask-restful/pull/422","diff_url":"https://github.com/flask-restful/flask-restful/pull/422.diff","patch_url":"https://github.com/flask-restful/flask-restful/pull/422.patch","issue_url":"https://api.github.com/repos/flask-restful/flask-restful/issues/422","number":422,"state":"open","locked":false,"title":"Email input parser and tests, fixes issue #407","user":{"login":"max-orhai","id":539840,"avatar_url":"https://avatars.githubusercontent.com/u/539840?v=3","gravatar_id":"","url":"https://api.github.com/users/max-orhai","html_url":"https://github.com/max-orhai","followers_url":"https://api.github.com/users/max-orhai/followers","following_url":"https://api.github.com/users/max-orhai/following{/other_user}","gists_url":"https://api.github.com/users/max-orhai/gists{/gist_id}","starred_url":"https://api.github.com/users/max-orhai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/max-orhai/subscriptions","organizations_url":"https://api.github.com/users/max-orhai/orgs","repos_url":"https://api.github.com/users/max-orhai/repos","events_url":"https://api.github.com/users/max-orhai/events{/privacy}","received_events_url":"https://api.github.com/users/max-orhai/received_events","type":"User","site_admin":false},"body":"This is an adaptation of Django's EmailValidator class, and handles all the same test cases. It does *not* currently support internationalized email address user names, as provided for by RFC 6530 and now supported by stable Postfix and some versions of sendmail.\r\n\r\nWe might want to reuse the domain name checking functions in the URL parser, but that would entail some refactoring. The `url_regex` currently accepts some invalid domains, like 257.0.0.0, and does not handle internationalized (IDN) domains.","created_at":"2015-03-31T18:23:48Z","updated_at":"2015-03-31T18:23:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/flask-restful/flask-restful/pulls/422/commits","review_comments_url":"https://api.github.com/repos/flask-restful/flask-restful/pulls/422/comments","review_comment_url":"https://api.github.com/repos/flask-restful/flask-restful/pulls/comments{/number}","comments_url":"https://api.github.com/repos/flask-restful/flask-restful/issues/422/comments","statuses_url":"https://api.github.com/repos/flask-restful/flask-restful/statuses/184aaa8e138561f3d0898b51ffb4a97e43d6bcd3","head":{"label":"max-orhai:feature/407-email-input-parser","ref":"feature/407-email-input-parser","sha":"184aaa8e138561f3d0898b51ffb4a97e43d6bcd3","user":{"login":"max-orhai","id":539840,"avatar_url":"https://avatars.githubusercontent.com/u/539840?v=3","gravatar_id":"","url":"https://api.github.com/users/max-orhai","html_url":"https://github.com/max-orhai","followers_url":"https://api.github.com/users/max-orhai/followers","following_url":"https://api.github.com/users/max-orhai/following{/other_user}","gists_url":"https://api.github.com/users/max-orhai/gists{/gist_id}","starred_url":"https://api.github.com/users/max-orhai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/max-orhai/subscriptions","organizations_url":"https://api.github.com/users/max-orhai/orgs","repos_url":"https://api.github.com/users/max-orhai/repos","events_url":"https://api.github.com/users/max-orhai/events{/privacy}","received_events_url":"https://api.github.com/users/max-orhai/received_events","type":"User","site_admin":false},"repo":{"id":33009257,"name":"flask-restful","full_name":"max-orhai/flask-restful","owner":{"login":"max-orhai","id":539840,"avatar_url":"https://avatars.githubusercontent.com/u/539840?v=3","gravatar_id":"","url":"https://api.github.com/users/max-orhai","html_url":"https://github.com/max-orhai","followers_url":"https://api.github.com/users/max-orhai/followers","following_url":"https://api.github.com/users/max-orhai/following{/other_user}","gists_url":"https://api.github.com/users/max-orhai/gists{/gist_id}","starred_url":"https://api.github.com/users/max-orhai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/max-orhai/subscriptions","organizations_url":"https://api.github.com/users/max-orhai/orgs","repos_url":"https://api.github.com/users/max-orhai/repos","events_url":"https://api.github.com/users/max-orhai/events{/privacy}","received_events_url":"https://api.github.com/users/max-orhai/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/max-orhai/flask-restful","description":"Simple framework for creating REST APIs","fork":true,"url":"https://api.github.com/repos/max-orhai/flask-restful","forks_url":"https://api.github.com/repos/max-orhai/flask-restful/forks","keys_url":"https://api.github.com/repos/max-orhai/flask-restful/keys{/key_id}","collaborators_url":"https://api.github.com/repos/max-orhai/flask-restful/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/max-orhai/flask-restful/teams","hooks_url":"https://api.github.com/repos/max-orhai/flask-restful/hooks","issue_events_url":"https://api.github.com/repos/max-orhai/flask-restful/issues/events{/number}","events_url":"https://api.github.com/repos/max-orhai/flask-restful/events","assignees_url":"https://api.github.com/repos/max-orhai/flask-restful/assignees{/user}","branches_url":"https://api.github.com/repos/max-orhai/flask-restful/branches{/branch}","tags_url":"https://api.github.com/repos/max-orhai/flask-restful/tags","blobs_url":"https://api.github.com/repos/max-orhai/flask-restful/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/max-orhai/flask-restful/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/max-orhai/flask-restful/git/refs{/sha}","trees_url":"https://api.github.com/repos/max-orhai/flask-restful/git/trees{/sha}","statuses_url":"https://api.github.com/repos/max-orhai/flask-restful/statuses/{sha}","languages_url":"https://api.github.com/repos/max-orhai/flask-restful/languages","stargazers_url":"https://api.github.com/repos/max-orhai/flask-restful/stargazers","contributors_url":"https://api.github.com/repos/max-orhai/flask-restful/contributors","subscribers_url":"https://api.github.com/repos/max-orhai/flask-restful/subscribers","subscription_url":"https://api.github.com/repos/max-orhai/flask-restful/subscription","commits_url":"https://api.github.com/repos/max-orhai/flask-restful/commits{/sha}","git_commits_url":"https://api.github.com/repos/max-orhai/flask-restful/git/commits{/sha}","comments_url":"https://api.github.com/repos/max-orhai/flask-restful/comments{/number}","issue_comment_url":"https://api.github.com/repos/max-orhai/flask-restful/issues/comments{/number}","contents_url":"https://api.github.com/repos/max-orhai/flask-restful/contents/{+path}","compare_url":"https://api.github.com/repos/max-orhai/flask-restful/compare/{base}...{head}","merges_url":"https://api.github.com/repos/max-orhai/flask-restful/merges","archive_url":"https://api.github.com/repos/max-orhai/flask-restful/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/max-orhai/flask-restful/downloads","issues_url":"https://api.github.com/repos/max-orhai/flask-restful/issues{/number}","pulls_url":"https://api.github.com/repos/max-orhai/flask-restful/pulls{/number}","milestones_url":"https://api.github.com/repos/max-orhai/flask-restful/milestones{/number}","notifications_url":"https://api.github.com/repos/max-orhai/flask-restful/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/max-orhai/flask-restful/labels{/name}","releases_url":"https://api.github.com/repos/max-orhai/flask-restful/releases{/id}","created_at":"2015-03-27T21:09:06Z","updated_at":"2015-03-31T18:03:58Z","pushed_at":"2015-03-31T18:12:31Z","git_url":"git://github.com/max-orhai/flask-restful.git","ssh_url":"git@github.com:max-orhai/flask-restful.git","clone_url":"https://github.com/max-orhai/flask-restful.git","svn_url":"https://github.com/max-orhai/flask-restful","homepage":"http://flask-restful.readthedocs.org","size":3307,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"flask-restful:master","ref":"master","sha":"8bdba92ef54645ada501a39edc0bc68d34127b64","user":{"login":"flask-restful","id":9747573,"avatar_url":"https://avatars.githubusercontent.com/u/9747573?v=3","gravatar_id":"","url":"https://api.github.com/users/flask-restful","html_url":"https://github.com/flask-restful","followers_url":"https://api.github.com/users/flask-restful/followers","following_url":"https://api.github.com/users/flask-restful/following{/other_user}","gists_url":"https://api.github.com/users/flask-restful/gists{/gist_id}","starred_url":"https://api.github.com/users/flask-restful/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flask-restful/subscriptions","organizations_url":"https://api.github.com/users/flask-restful/orgs","repos_url":"https://api.github.com/users/flask-restful/repos","events_url":"https://api.github.com/users/flask-restful/events{/privacy}","received_events_url":"https://api.github.com/users/flask-restful/received_events","type":"Organization","site_admin":false},"repo":{"id":6182775,"name":"flask-restful","full_name":"flask-restful/flask-restful","owner":{"login":"flask-restful","id":9747573,"avatar_url":"https://avatars.githubusercontent.com/u/9747573?v=3","gravatar_id":"","url":"https://api.github.com/users/flask-restful","html_url":"https://github.com/flask-restful","followers_url":"https://api.github.com/users/flask-restful/followers","following_url":"https://api.github.com/users/flask-restful/following{/other_user}","gists_url":"https://api.github.com/users/flask-restful/gists{/gist_id}","starred_url":"https://api.github.com/users/flask-restful/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flask-restful/subscriptions","organizations_url":"https://api.github.com/users/flask-restful/orgs","repos_url":"https://api.github.com/users/flask-restful/repos","events_url":"https://api.github.com/users/flask-restful/events{/privacy}","received_events_url":"https://api.github.com/users/flask-restful/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/flask-restful/flask-restful","description":"Simple framework for creating REST APIs","fork":false,"url":"https://api.github.com/repos/flask-restful/flask-restful","forks_url":"https://api.github.com/repos/flask-restful/flask-restful/forks","keys_url":"https://api.github.com/repos/flask-restful/flask-restful/keys{/key_id}","collaborators_url":"https://api.github.com/repos/flask-restful/flask-restful/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/flask-restful/flask-restful/teams","hooks_url":"https://api.github.com/repos/flask-restful/flask-restful/hooks","issue_events_url":"https://api.github.com/repos/flask-restful/flask-restful/issues/events{/number}","events_url":"https://api.github.com/repos/flask-restful/flask-restful/events","assignees_url":"https://api.github.com/repos/flask-restful/flask-restful/assignees{/user}","branches_url":"https://api.github.com/repos/flask-restful/flask-restful/branches{/branch}","tags_url":"https://api.github.com/repos/flask-restful/flask-restful/tags","blobs_url":"https://api.github.com/repos/flask-restful/flask-restful/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/flask-restful/flask-restful/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/flask-restful/flask-restful/git/refs{/sha}","trees_url":"https://api.github.com/repos/flask-restful/flask-restful/git/trees{/sha}","statuses_url":"https://api.github.com/repos/flask-restful/flask-restful/statuses/{sha}","languages_url":"https://api.github.com/repos/flask-restful/flask-restful/languages","stargazers_url":"https://api.github.com/repos/flask-restful/flask-restful/stargazers","contributors_url":"https://api.github.com/repos/flask-restful/flask-restful/contributors","subscribers_url":"https://api.github.com/repos/flask-restful/flask-restful/subscribers","subscription_url":"https://api.github.com/repos/flask-restful/flask-restful/subscription","commits_url":"https://api.github.com/repos/flask-restful/flask-restful/commits{/sha}","git_commits_url":"https://api.github.com/repos/flask-restful/flask-restful/git/commits{/sha}","comments_url":"https://api.github.com/repos/flask-restful/flask-restful/comments{/number}","issue_comment_url":"https://api.github.com/repos/flask-restful/flask-restful/issues/comments{/number}","contents_url":"https://api.github.com/repos/flask-restful/flask-restful/contents/{+path}","compare_url":"https://api.github.com/repos/flask-restful/flask-restful/compare/{base}...{head}","merges_url":"https://api.github.com/repos/flask-restful/flask-restful/merges","archive_url":"https://api.github.com/repos/flask-restful/flask-restful/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/flask-restful/flask-restful/downloads","issues_url":"https://api.github.com/repos/flask-restful/flask-restful/issues{/number}","pulls_url":"https://api.github.com/repos/flask-restful/flask-restful/pulls{/number}","milestones_url":"https://api.github.com/repos/flask-restful/flask-restful/milestones{/number}","notifications_url":"https://api.github.com/repos/flask-restful/flask-restful/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/flask-restful/flask-restful/labels{/name}","releases_url":"https://api.github.com/repos/flask-restful/flask-restful/releases{/id}","created_at":"2012-10-12T00:08:51Z","updated_at":"2015-03-31T04:55:40Z","pushed_at":"2015-03-22T02:57:45Z","git_url":"git://github.com/flask-restful/flask-restful.git","ssh_url":"git@github.com:flask-restful/flask-restful.git","clone_url":"https://github.com/flask-restful/flask-restful.git","svn_url":"https://github.com/flask-restful/flask-restful","homepage":"http://flask-restful.readthedocs.org","size":3307,"stargazers_count":1268,"watchers_count":1268,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":260,"mirror_url":null,"open_issues_count":22,"forks":260,"open_issues":22,"watchers":1268,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/flask-restful/flask-restful/pulls/422"},"html":{"href":"https://github.com/flask-restful/flask-restful/pull/422"},"issue":{"href":"https://api.github.com/repos/flask-restful/flask-restful/issues/422"},"comments":{"href":"https://api.github.com/repos/flask-restful/flask-restful/issues/422/comments"},"review_comments":{"href":"https://api.github.com/repos/flask-restful/flask-restful/pulls/422/comments"},"review_comment":{"href":"https://api.github.com/repos/flask-restful/flask-restful/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/flask-restful/flask-restful/pulls/422/commits"},"statuses":{"href":"https://api.github.com/repos/flask-restful/flask-restful/statuses/184aaa8e138561f3d0898b51ffb4a97e43d6bcd3"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":209,"deletions":0,"changed_files":3}}