{"action":"closed","number":89,"pull_request":{"url":"https://api.github.com/repos/asaskevich/govalidator/pulls/89","id":44701260,"html_url":"https://github.com/asaskevich/govalidator/pull/89","diff_url":"https://github.com/asaskevich/govalidator/pull/89.diff","patch_url":"https://github.com/asaskevich/govalidator/pull/89.patch","issue_url":"https://api.github.com/repos/asaskevich/govalidator/issues/89","number":89,"state":"closed","locked":false,"title":"Updated URL validation regex to accept URLs with dashes","user":{"login":"nkcraddock","id":615974,"avatar_url":"https://avatars.githubusercontent.com/u/615974?v=3","gravatar_id":"","url":"https://api.github.com/users/nkcraddock","html_url":"https://github.com/nkcraddock","followers_url":"https://api.github.com/users/nkcraddock/followers","following_url":"https://api.github.com/users/nkcraddock/following{/other_user}","gists_url":"https://api.github.com/users/nkcraddock/gists{/gist_id}","starred_url":"https://api.github.com/users/nkcraddock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nkcraddock/subscriptions","organizations_url":"https://api.github.com/users/nkcraddock/orgs","repos_url":"https://api.github.com/users/nkcraddock/repos","events_url":"https://api.github.com/users/nkcraddock/events{/privacy}","received_events_url":"https://api.github.com/users/nkcraddock/received_events","type":"User","site_admin":false},"body":"This addresses issue #87. Hyphens are valid in a URL, provided the first and last character of the host or domain name is an alphanumeric character.\n\n<!-- Reviewable:start -->\n[<img src=\"https://reviewable.io/review_button.png\" height=40 alt=\"Review on Reviewable\"/>](https://reviewable.io/reviews/asaskevich/govalidator/89)\n<!-- Reviewable:end -->\n","created_at":"2015-09-10T18:19:03Z","updated_at":"2015-09-19T10:38:17Z","closed_at":"2015-09-19T10:38:17Z","merged_at":"2015-09-19T10:38:17Z","merge_commit_sha":"ba648c4fbf29f760f84573ddb2bbfb07c766523f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/asaskevich/govalidator/pulls/89/commits","review_comments_url":"https://api.github.com/repos/asaskevich/govalidator/pulls/89/comments","review_comment_url":"https://api.github.com/repos/asaskevich/govalidator/pulls/comments{/number}","comments_url":"https://api.github.com/repos/asaskevich/govalidator/issues/89/comments","statuses_url":"https://api.github.com/repos/asaskevich/govalidator/statuses/bcad68353f2517125aa26d2e5d3c930aac3d723e","head":{"label":"nkcraddock:master","ref":"master","sha":"bcad68353f2517125aa26d2e5d3c930aac3d723e","user":{"login":"nkcraddock","id":615974,"avatar_url":"https://avatars.githubusercontent.com/u/615974?v=3","gravatar_id":"","url":"https://api.github.com/users/nkcraddock","html_url":"https://github.com/nkcraddock","followers_url":"https://api.github.com/users/nkcraddock/followers","following_url":"https://api.github.com/users/nkcraddock/following{/other_user}","gists_url":"https://api.github.com/users/nkcraddock/gists{/gist_id}","starred_url":"https://api.github.com/users/nkcraddock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nkcraddock/subscriptions","organizations_url":"https://api.github.com/users/nkcraddock/orgs","repos_url":"https://api.github.com/users/nkcraddock/repos","events_url":"https://api.github.com/users/nkcraddock/events{/privacy}","received_events_url":"https://api.github.com/users/nkcraddock/received_events","type":"User","site_admin":false},"repo":{"id":42261971,"name":"govalidator","full_name":"nkcraddock/govalidator","owner":{"login":"nkcraddock","id":615974,"avatar_url":"https://avatars.githubusercontent.com/u/615974?v=3","gravatar_id":"","url":"https://api.github.com/users/nkcraddock","html_url":"https://github.com/nkcraddock","followers_url":"https://api.github.com/users/nkcraddock/followers","following_url":"https://api.github.com/users/nkcraddock/following{/other_user}","gists_url":"https://api.github.com/users/nkcraddock/gists{/gist_id}","starred_url":"https://api.github.com/users/nkcraddock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nkcraddock/subscriptions","organizations_url":"https://api.github.com/users/nkcraddock/orgs","repos_url":"https://api.github.com/users/nkcraddock/repos","events_url":"https://api.github.com/users/nkcraddock/events{/privacy}","received_events_url":"https://api.github.com/users/nkcraddock/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nkcraddock/govalidator","description":"[Go] Package of validators and sanitizers for strings, numerics, slices and structs","fork":true,"url":"https://api.github.com/repos/nkcraddock/govalidator","forks_url":"https://api.github.com/repos/nkcraddock/govalidator/forks","keys_url":"https://api.github.com/repos/nkcraddock/govalidator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nkcraddock/govalidator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nkcraddock/govalidator/teams","hooks_url":"https://api.github.com/repos/nkcraddock/govalidator/hooks","issue_events_url":"https://api.github.com/repos/nkcraddock/govalidator/issues/events{/number}","events_url":"https://api.github.com/repos/nkcraddock/govalidator/events","assignees_url":"https://api.github.com/repos/nkcraddock/govalidator/assignees{/user}","branches_url":"https://api.github.com/repos/nkcraddock/govalidator/branches{/branch}","tags_url":"https://api.github.com/repos/nkcraddock/govalidator/tags","blobs_url":"https://api.github.com/repos/nkcraddock/govalidator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nkcraddock/govalidator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nkcraddock/govalidator/git/refs{/sha}","trees_url":"https://api.github.com/repos/nkcraddock/govalidator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nkcraddock/govalidator/statuses/{sha}","languages_url":"https://api.github.com/repos/nkcraddock/govalidator/languages","stargazers_url":"https://api.github.com/repos/nkcraddock/govalidator/stargazers","contributors_url":"https://api.github.com/repos/nkcraddock/govalidator/contributors","subscribers_url":"https://api.github.com/repos/nkcraddock/govalidator/subscribers","subscription_url":"https://api.github.com/repos/nkcraddock/govalidator/subscription","commits_url":"https://api.github.com/repos/nkcraddock/govalidator/commits{/sha}","git_commits_url":"https://api.github.com/repos/nkcraddock/govalidator/git/commits{/sha}","comments_url":"https://api.github.com/repos/nkcraddock/govalidator/comments{/number}","issue_comment_url":"https://api.github.com/repos/nkcraddock/govalidator/issues/comments{/number}","contents_url":"https://api.github.com/repos/nkcraddock/govalidator/contents/{+path}","compare_url":"https://api.github.com/repos/nkcraddock/govalidator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nkcraddock/govalidator/merges","archive_url":"https://api.github.com/repos/nkcraddock/govalidator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nkcraddock/govalidator/downloads","issues_url":"https://api.github.com/repos/nkcraddock/govalidator/issues{/number}","pulls_url":"https://api.github.com/repos/nkcraddock/govalidator/pulls{/number}","milestones_url":"https://api.github.com/repos/nkcraddock/govalidator/milestones{/number}","notifications_url":"https://api.github.com/repos/nkcraddock/govalidator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nkcraddock/govalidator/labels{/name}","releases_url":"https://api.github.com/repos/nkcraddock/govalidator/releases{/id}","created_at":"2015-09-10T18:12:32Z","updated_at":"2015-09-10T18:12:33Z","pushed_at":"2015-09-10T18:16:04Z","git_url":"git://github.com/nkcraddock/govalidator.git","ssh_url":"git@github.com:nkcraddock/govalidator.git","clone_url":"https://github.com/nkcraddock/govalidator.git","svn_url":"https://github.com/nkcraddock/govalidator","homepage":"","size":340,"stargazers_count":0,"watchers_count":0,"language":"Go","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":"asaskevich:master","ref":"master","sha":"0ac181471c45e5153dd36527926981230f51dfbd","user":{"login":"asaskevich","id":5049590,"avatar_url":"https://avatars.githubusercontent.com/u/5049590?v=3","gravatar_id":"","url":"https://api.github.com/users/asaskevich","html_url":"https://github.com/asaskevich","followers_url":"https://api.github.com/users/asaskevich/followers","following_url":"https://api.github.com/users/asaskevich/following{/other_user}","gists_url":"https://api.github.com/users/asaskevich/gists{/gist_id}","starred_url":"https://api.github.com/users/asaskevich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asaskevich/subscriptions","organizations_url":"https://api.github.com/users/asaskevich/orgs","repos_url":"https://api.github.com/users/asaskevich/repos","events_url":"https://api.github.com/users/asaskevich/events{/privacy}","received_events_url":"https://api.github.com/users/asaskevich/received_events","type":"User","site_admin":false},"repo":{"id":21034555,"name":"govalidator","full_name":"asaskevich/govalidator","owner":{"login":"asaskevich","id":5049590,"avatar_url":"https://avatars.githubusercontent.com/u/5049590?v=3","gravatar_id":"","url":"https://api.github.com/users/asaskevich","html_url":"https://github.com/asaskevich","followers_url":"https://api.github.com/users/asaskevich/followers","following_url":"https://api.github.com/users/asaskevich/following{/other_user}","gists_url":"https://api.github.com/users/asaskevich/gists{/gist_id}","starred_url":"https://api.github.com/users/asaskevich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asaskevich/subscriptions","organizations_url":"https://api.github.com/users/asaskevich/orgs","repos_url":"https://api.github.com/users/asaskevich/repos","events_url":"https://api.github.com/users/asaskevich/events{/privacy}","received_events_url":"https://api.github.com/users/asaskevich/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/asaskevich/govalidator","description":"[Go] Package of validators and sanitizers for strings, numerics, slices and structs","fork":false,"url":"https://api.github.com/repos/asaskevich/govalidator","forks_url":"https://api.github.com/repos/asaskevich/govalidator/forks","keys_url":"https://api.github.com/repos/asaskevich/govalidator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/asaskevich/govalidator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/asaskevich/govalidator/teams","hooks_url":"https://api.github.com/repos/asaskevich/govalidator/hooks","issue_events_url":"https://api.github.com/repos/asaskevich/govalidator/issues/events{/number}","events_url":"https://api.github.com/repos/asaskevich/govalidator/events","assignees_url":"https://api.github.com/repos/asaskevich/govalidator/assignees{/user}","branches_url":"https://api.github.com/repos/asaskevich/govalidator/branches{/branch}","tags_url":"https://api.github.com/repos/asaskevich/govalidator/tags","blobs_url":"https://api.github.com/repos/asaskevich/govalidator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/asaskevich/govalidator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/asaskevich/govalidator/git/refs{/sha}","trees_url":"https://api.github.com/repos/asaskevich/govalidator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/asaskevich/govalidator/statuses/{sha}","languages_url":"https://api.github.com/repos/asaskevich/govalidator/languages","stargazers_url":"https://api.github.com/repos/asaskevich/govalidator/stargazers","contributors_url":"https://api.github.com/repos/asaskevich/govalidator/contributors","subscribers_url":"https://api.github.com/repos/asaskevich/govalidator/subscribers","subscription_url":"https://api.github.com/repos/asaskevich/govalidator/subscription","commits_url":"https://api.github.com/repos/asaskevich/govalidator/commits{/sha}","git_commits_url":"https://api.github.com/repos/asaskevich/govalidator/git/commits{/sha}","comments_url":"https://api.github.com/repos/asaskevich/govalidator/comments{/number}","issue_comment_url":"https://api.github.com/repos/asaskevich/govalidator/issues/comments{/number}","contents_url":"https://api.github.com/repos/asaskevich/govalidator/contents/{+path}","compare_url":"https://api.github.com/repos/asaskevich/govalidator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/asaskevich/govalidator/merges","archive_url":"https://api.github.com/repos/asaskevich/govalidator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/asaskevich/govalidator/downloads","issues_url":"https://api.github.com/repos/asaskevich/govalidator/issues{/number}","pulls_url":"https://api.github.com/repos/asaskevich/govalidator/pulls{/number}","milestones_url":"https://api.github.com/repos/asaskevich/govalidator/milestones{/number}","notifications_url":"https://api.github.com/repos/asaskevich/govalidator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/asaskevich/govalidator/labels{/name}","releases_url":"https://api.github.com/repos/asaskevich/govalidator/releases{/id}","created_at":"2014-06-20T10:45:23Z","updated_at":"2015-09-19T07:37:11Z","pushed_at":"2015-09-19T10:38:17Z","git_url":"git://github.com/asaskevich/govalidator.git","ssh_url":"git@github.com:asaskevich/govalidator.git","clone_url":"https://github.com/asaskevich/govalidator.git","svn_url":"https://github.com/asaskevich/govalidator","homepage":"","size":853,"stargazers_count":662,"watchers_count":662,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":67,"mirror_url":null,"open_issues_count":13,"forks":67,"open_issues":13,"watchers":662,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/asaskevich/govalidator/pulls/89"},"html":{"href":"https://github.com/asaskevich/govalidator/pull/89"},"issue":{"href":"https://api.github.com/repos/asaskevich/govalidator/issues/89"},"comments":{"href":"https://api.github.com/repos/asaskevich/govalidator/issues/89/comments"},"review_comments":{"href":"https://api.github.com/repos/asaskevich/govalidator/pulls/89/comments"},"review_comment":{"href":"https://api.github.com/repos/asaskevich/govalidator/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/asaskevich/govalidator/pulls/89/commits"},"statuses":{"href":"https://api.github.com/repos/asaskevich/govalidator/statuses/bcad68353f2517125aa26d2e5d3c930aac3d723e"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"asaskevich","id":5049590,"avatar_url":"https://avatars.githubusercontent.com/u/5049590?v=3","gravatar_id":"","url":"https://api.github.com/users/asaskevich","html_url":"https://github.com/asaskevich","followers_url":"https://api.github.com/users/asaskevich/followers","following_url":"https://api.github.com/users/asaskevich/following{/other_user}","gists_url":"https://api.github.com/users/asaskevich/gists{/gist_id}","starred_url":"https://api.github.com/users/asaskevich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asaskevich/subscriptions","organizations_url":"https://api.github.com/users/asaskevich/orgs","repos_url":"https://api.github.com/users/asaskevich/repos","events_url":"https://api.github.com/users/asaskevich/events{/privacy}","received_events_url":"https://api.github.com/users/asaskevich/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":6,"deletions":1,"changed_files":2}}