{"action":"created","comment":{"url":"https://api.github.com/repos/behance/BeFF/pulls/comments/66323445","id":66323445,"diff_hunk":"@@ -122,7 +122,11 @@ define(function() {\n       message: \"This field must be a valid video extension\"\n     },\n     Url:{\n-      test: test.bind(/^(http(?:s)?:\\/\\/|www.)[^<>]*$/),\n+      test: test.bind(/^(http(?:s)?:\\/\\/|www\\.)[^<>\"]*$/),\n+      message: \"This field must be a URL starting with http:// or www.\"\n+    },\n+    UrlWithProtocol:{\n+      test: test.bind(/^https?:\\/\\/(?:[a-zA-Z0-9](?:[a-zA-Z0-9\\-]*[a-zA-Z0-9])?\\.)+(?:(?:[Xx][Nn]--)?[a-zA-Z0-9]{2,63}|\\d{1,3})[^<>\"]*$/),","path":"util/validate.js","position":9,"original_position":9,"commit_id":"5af2f4803580342348a91307cc96c13a6314f889","original_commit_id":"5af2f4803580342348a91307cc96c13a6314f889","user":{"login":"kaicataldo","id":7041728,"avatar_url":"https://avatars.githubusercontent.com/u/7041728?v=3","gravatar_id":"","url":"https://api.github.com/users/kaicataldo","html_url":"https://github.com/kaicataldo","followers_url":"https://api.github.com/users/kaicataldo/followers","following_url":"https://api.github.com/users/kaicataldo/following{/other_user}","gists_url":"https://api.github.com/users/kaicataldo/gists{/gist_id}","starred_url":"https://api.github.com/users/kaicataldo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaicataldo/subscriptions","organizations_url":"https://api.github.com/users/kaicataldo/orgs","repos_url":"https://api.github.com/users/kaicataldo/repos","events_url":"https://api.github.com/users/kaicataldo/events{/privacy}","received_events_url":"https://api.github.com/users/kaicataldo/received_events","type":"User","site_admin":false},"body":"what is `[Xx][Nn]` used for?","created_at":"2016-06-08T19:31:56Z","updated_at":"2016-06-08T19:31:56Z","html_url":"https://github.com/behance/BeFF/pull/146#discussion_r66323445","pull_request_url":"https://api.github.com/repos/behance/BeFF/pulls/146","_links":{"self":{"href":"https://api.github.com/repos/behance/BeFF/pulls/comments/66323445"},"html":{"href":"https://github.com/behance/BeFF/pull/146#discussion_r66323445"},"pull_request":{"href":"https://api.github.com/repos/behance/BeFF/pulls/146"}}},"pull_request":{"url":"https://api.github.com/repos/behance/BeFF/pulls/146","id":73105330,"html_url":"https://github.com/behance/BeFF/pull/146","diff_url":"https://github.com/behance/BeFF/pull/146.diff","patch_url":"https://github.com/behance/BeFF/pull/146.patch","issue_url":"https://api.github.com/repos/behance/BeFF/issues/146","number":146,"state":"open","locked":false,"title":"Add UrlWithProtocol validation, fix security issue with Url validator","user":{"login":"weikinhuang","id":794658,"avatar_url":"https://avatars.githubusercontent.com/u/794658?v=3","gravatar_id":"","url":"https://api.github.com/users/weikinhuang","html_url":"https://github.com/weikinhuang","followers_url":"https://api.github.com/users/weikinhuang/followers","following_url":"https://api.github.com/users/weikinhuang/following{/other_user}","gists_url":"https://api.github.com/users/weikinhuang/gists{/gist_id}","starred_url":"https://api.github.com/users/weikinhuang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weikinhuang/subscriptions","organizations_url":"https://api.github.com/users/weikinhuang/orgs","repos_url":"https://api.github.com/users/weikinhuang/repos","events_url":"https://api.github.com/users/weikinhuang/events{/privacy}","received_events_url":"https://api.github.com/users/weikinhuang/received_events","type":"User","site_admin":false},"body":null,"created_at":"2016-06-08T19:25:25Z","updated_at":"2016-06-08T19:31:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"56fad7b36b0c543999beb9c2940f5385d2a4bc22","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/behance/BeFF/pulls/146/commits","review_comments_url":"https://api.github.com/repos/behance/BeFF/pulls/146/comments","review_comment_url":"https://api.github.com/repos/behance/BeFF/pulls/comments{/number}","comments_url":"https://api.github.com/repos/behance/BeFF/issues/146/comments","statuses_url":"https://api.github.com/repos/behance/BeFF/statuses/5af2f4803580342348a91307cc96c13a6314f889","head":{"label":"weikinhuang:add-url-proto-validator","ref":"add-url-proto-validator","sha":"5af2f4803580342348a91307cc96c13a6314f889","user":{"login":"weikinhuang","id":794658,"avatar_url":"https://avatars.githubusercontent.com/u/794658?v=3","gravatar_id":"","url":"https://api.github.com/users/weikinhuang","html_url":"https://github.com/weikinhuang","followers_url":"https://api.github.com/users/weikinhuang/followers","following_url":"https://api.github.com/users/weikinhuang/following{/other_user}","gists_url":"https://api.github.com/users/weikinhuang/gists{/gist_id}","starred_url":"https://api.github.com/users/weikinhuang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weikinhuang/subscriptions","organizations_url":"https://api.github.com/users/weikinhuang/orgs","repos_url":"https://api.github.com/users/weikinhuang/repos","events_url":"https://api.github.com/users/weikinhuang/events{/privacy}","received_events_url":"https://api.github.com/users/weikinhuang/received_events","type":"User","site_admin":false},"repo":{"id":60197347,"name":"BeFF","full_name":"weikinhuang/BeFF","owner":{"login":"weikinhuang","id":794658,"avatar_url":"https://avatars.githubusercontent.com/u/794658?v=3","gravatar_id":"","url":"https://api.github.com/users/weikinhuang","html_url":"https://github.com/weikinhuang","followers_url":"https://api.github.com/users/weikinhuang/followers","following_url":"https://api.github.com/users/weikinhuang/following{/other_user}","gists_url":"https://api.github.com/users/weikinhuang/gists{/gist_id}","starred_url":"https://api.github.com/users/weikinhuang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weikinhuang/subscriptions","organizations_url":"https://api.github.com/users/weikinhuang/orgs","repos_url":"https://api.github.com/users/weikinhuang/repos","events_url":"https://api.github.com/users/weikinhuang/events{/privacy}","received_events_url":"https://api.github.com/users/weikinhuang/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/weikinhuang/BeFF","description":"Behance Frontend Framework","fork":true,"url":"https://api.github.com/repos/weikinhuang/BeFF","forks_url":"https://api.github.com/repos/weikinhuang/BeFF/forks","keys_url":"https://api.github.com/repos/weikinhuang/BeFF/keys{/key_id}","collaborators_url":"https://api.github.com/repos/weikinhuang/BeFF/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/weikinhuang/BeFF/teams","hooks_url":"https://api.github.com/repos/weikinhuang/BeFF/hooks","issue_events_url":"https://api.github.com/repos/weikinhuang/BeFF/issues/events{/number}","events_url":"https://api.github.com/repos/weikinhuang/BeFF/events","assignees_url":"https://api.github.com/repos/weikinhuang/BeFF/assignees{/user}","branches_url":"https://api.github.com/repos/weikinhuang/BeFF/branches{/branch}","tags_url":"https://api.github.com/repos/weikinhuang/BeFF/tags","blobs_url":"https://api.github.com/repos/weikinhuang/BeFF/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/weikinhuang/BeFF/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/weikinhuang/BeFF/git/refs{/sha}","trees_url":"https://api.github.com/repos/weikinhuang/BeFF/git/trees{/sha}","statuses_url":"https://api.github.com/repos/weikinhuang/BeFF/statuses/{sha}","languages_url":"https://api.github.com/repos/weikinhuang/BeFF/languages","stargazers_url":"https://api.github.com/repos/weikinhuang/BeFF/stargazers","contributors_url":"https://api.github.com/repos/weikinhuang/BeFF/contributors","subscribers_url":"https://api.github.com/repos/weikinhuang/BeFF/subscribers","subscription_url":"https://api.github.com/repos/weikinhuang/BeFF/subscription","commits_url":"https://api.github.com/repos/weikinhuang/BeFF/commits{/sha}","git_commits_url":"https://api.github.com/repos/weikinhuang/BeFF/git/commits{/sha}","comments_url":"https://api.github.com/repos/weikinhuang/BeFF/comments{/number}","issue_comment_url":"https://api.github.com/repos/weikinhuang/BeFF/issues/comments{/number}","contents_url":"https://api.github.com/repos/weikinhuang/BeFF/contents/{+path}","compare_url":"https://api.github.com/repos/weikinhuang/BeFF/compare/{base}...{head}","merges_url":"https://api.github.com/repos/weikinhuang/BeFF/merges","archive_url":"https://api.github.com/repos/weikinhuang/BeFF/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/weikinhuang/BeFF/downloads","issues_url":"https://api.github.com/repos/weikinhuang/BeFF/issues{/number}","pulls_url":"https://api.github.com/repos/weikinhuang/BeFF/pulls{/number}","milestones_url":"https://api.github.com/repos/weikinhuang/BeFF/milestones{/number}","notifications_url":"https://api.github.com/repos/weikinhuang/BeFF/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/weikinhuang/BeFF/labels{/name}","releases_url":"https://api.github.com/repos/weikinhuang/BeFF/releases{/id}","deployments_url":"https://api.github.com/repos/weikinhuang/BeFF/deployments","created_at":"2016-06-01T17:28:29Z","updated_at":"2016-06-01T17:28:30Z","pushed_at":"2016-06-08T19:25:25Z","git_url":"git://github.com/weikinhuang/BeFF.git","ssh_url":"git@github.com:weikinhuang/BeFF.git","clone_url":"https://github.com/weikinhuang/BeFF.git","svn_url":"https://github.com/weikinhuang/BeFF","homepage":null,"size":1632,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"behance:master","ref":"master","sha":"2adac2ab0680e8820ddc1df6f2670173275d1d80","user":{"login":"behance","id":1197743,"avatar_url":"https://avatars.githubusercontent.com/u/1197743?v=3","gravatar_id":"","url":"https://api.github.com/users/behance","html_url":"https://github.com/behance","followers_url":"https://api.github.com/users/behance/followers","following_url":"https://api.github.com/users/behance/following{/other_user}","gists_url":"https://api.github.com/users/behance/gists{/gist_id}","starred_url":"https://api.github.com/users/behance/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/behance/subscriptions","organizations_url":"https://api.github.com/users/behance/orgs","repos_url":"https://api.github.com/users/behance/repos","events_url":"https://api.github.com/users/behance/events{/privacy}","received_events_url":"https://api.github.com/users/behance/received_events","type":"Organization","site_admin":false},"repo":{"id":19325681,"name":"BeFF","full_name":"behance/BeFF","owner":{"login":"behance","id":1197743,"avatar_url":"https://avatars.githubusercontent.com/u/1197743?v=3","gravatar_id":"","url":"https://api.github.com/users/behance","html_url":"https://github.com/behance","followers_url":"https://api.github.com/users/behance/followers","following_url":"https://api.github.com/users/behance/following{/other_user}","gists_url":"https://api.github.com/users/behance/gists{/gist_id}","starred_url":"https://api.github.com/users/behance/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/behance/subscriptions","organizations_url":"https://api.github.com/users/behance/orgs","repos_url":"https://api.github.com/users/behance/repos","events_url":"https://api.github.com/users/behance/events{/privacy}","received_events_url":"https://api.github.com/users/behance/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/behance/BeFF","description":"Behance Frontend Framework","fork":false,"url":"https://api.github.com/repos/behance/BeFF","forks_url":"https://api.github.com/repos/behance/BeFF/forks","keys_url":"https://api.github.com/repos/behance/BeFF/keys{/key_id}","collaborators_url":"https://api.github.com/repos/behance/BeFF/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/behance/BeFF/teams","hooks_url":"https://api.github.com/repos/behance/BeFF/hooks","issue_events_url":"https://api.github.com/repos/behance/BeFF/issues/events{/number}","events_url":"https://api.github.com/repos/behance/BeFF/events","assignees_url":"https://api.github.com/repos/behance/BeFF/assignees{/user}","branches_url":"https://api.github.com/repos/behance/BeFF/branches{/branch}","tags_url":"https://api.github.com/repos/behance/BeFF/tags","blobs_url":"https://api.github.com/repos/behance/BeFF/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/behance/BeFF/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/behance/BeFF/git/refs{/sha}","trees_url":"https://api.github.com/repos/behance/BeFF/git/trees{/sha}","statuses_url":"https://api.github.com/repos/behance/BeFF/statuses/{sha}","languages_url":"https://api.github.com/repos/behance/BeFF/languages","stargazers_url":"https://api.github.com/repos/behance/BeFF/stargazers","contributors_url":"https://api.github.com/repos/behance/BeFF/contributors","subscribers_url":"https://api.github.com/repos/behance/BeFF/subscribers","subscription_url":"https://api.github.com/repos/behance/BeFF/subscription","commits_url":"https://api.github.com/repos/behance/BeFF/commits{/sha}","git_commits_url":"https://api.github.com/repos/behance/BeFF/git/commits{/sha}","comments_url":"https://api.github.com/repos/behance/BeFF/comments{/number}","issue_comment_url":"https://api.github.com/repos/behance/BeFF/issues/comments{/number}","contents_url":"https://api.github.com/repos/behance/BeFF/contents/{+path}","compare_url":"https://api.github.com/repos/behance/BeFF/compare/{base}...{head}","merges_url":"https://api.github.com/repos/behance/BeFF/merges","archive_url":"https://api.github.com/repos/behance/BeFF/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/behance/BeFF/downloads","issues_url":"https://api.github.com/repos/behance/BeFF/issues{/number}","pulls_url":"https://api.github.com/repos/behance/BeFF/pulls{/number}","milestones_url":"https://api.github.com/repos/behance/BeFF/milestones{/number}","notifications_url":"https://api.github.com/repos/behance/BeFF/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/behance/BeFF/labels{/name}","releases_url":"https://api.github.com/repos/behance/BeFF/releases{/id}","deployments_url":"https://api.github.com/repos/behance/BeFF/deployments","created_at":"2014-04-30T20:06:04Z","updated_at":"2016-06-03T00:02:53Z","pushed_at":"2016-06-08T19:25:25Z","git_url":"git://github.com/behance/BeFF.git","ssh_url":"git@github.com:behance/BeFF.git","clone_url":"https://github.com/behance/BeFF.git","svn_url":"https://github.com/behance/BeFF","homepage":null,"size":1638,"stargazers_count":7,"watchers_count":7,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":18,"mirror_url":null,"open_issues_count":9,"forks":18,"open_issues":9,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/behance/BeFF/pulls/146"},"html":{"href":"https://github.com/behance/BeFF/pull/146"},"issue":{"href":"https://api.github.com/repos/behance/BeFF/issues/146"},"comments":{"href":"https://api.github.com/repos/behance/BeFF/issues/146/comments"},"review_comments":{"href":"https://api.github.com/repos/behance/BeFF/pulls/146/comments"},"review_comment":{"href":"https://api.github.com/repos/behance/BeFF/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/behance/BeFF/pulls/146/commits"},"statuses":{"href":"https://api.github.com/repos/behance/BeFF/statuses/5af2f4803580342348a91307cc96c13a6314f889"}}}}
{"actor":{"display_login":"kaicataldo"}}