{"action":"created","comment":{"url":"https://api.github.com/repos/postmanlabs/postman-request/pulls/comments/78717848","id":78717848,"diff_hunk":"@@ -0,0 +1,121 @@\n+var url = require('url')\n+  , STRING = 'string'\n+  , stringify\n+  , parse\n+  , encode\n+\n+/**\n+ * Percent encodes a query string according to RFC 3986\n+ *\n+ * @param value\n+ * @returns {string}\n+ */\n+encode = function (value) {\n+  return encodeURIComponent(value).replace(/[!'()*]/g, function (c) {","path":"lib/url-parse.js","position":14,"original_position":14,"commit_id":"b8eb3a484eb516a51e1770170d597b2c909fed88","original_commit_id":"b8eb3a484eb516a51e1770170d597b2c909fed88","user":{"login":"shamasis","id":232373,"avatar_url":"https://avatars.githubusercontent.com/u/232373?v=3","gravatar_id":"","url":"https://api.github.com/users/shamasis","html_url":"https://github.com/shamasis","followers_url":"https://api.github.com/users/shamasis/followers","following_url":"https://api.github.com/users/shamasis/following{/other_user}","gists_url":"https://api.github.com/users/shamasis/gists{/gist_id}","starred_url":"https://api.github.com/users/shamasis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shamasis/subscriptions","organizations_url":"https://api.github.com/users/shamasis/orgs","repos_url":"https://api.github.com/users/shamasis/repos","events_url":"https://api.github.com/users/shamasis/events{/privacy}","received_events_url":"https://api.github.com/users/shamasis/received_events","type":"User","site_admin":false},"body":"move this regex as common variable on top","created_at":"2016-09-14T09:49:18Z","updated_at":"2016-09-14T09:49:18Z","html_url":"https://github.com/postmanlabs/postman-request/pull/2#discussion_r78717848","pull_request_url":"https://api.github.com/repos/postmanlabs/postman-request/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/postmanlabs/postman-request/pulls/comments/78717848"},"html":{"href":"https://github.com/postmanlabs/postman-request/pull/2#discussion_r78717848"},"pull_request":{"href":"https://api.github.com/repos/postmanlabs/postman-request/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/postmanlabs/postman-request/pulls/2","id":85019728,"html_url":"https://github.com/postmanlabs/postman-request/pull/2","diff_url":"https://github.com/postmanlabs/postman-request/pull/2.diff","patch_url":"https://github.com/postmanlabs/postman-request/pull/2.patch","issue_url":"https://api.github.com/repos/postmanlabs/postman-request/issues/2","number":2,"state":"open","locked":false,"title":"Fixed a bug that caused request to fail with utf-8 query parameters","user":{"login":"czardoz","id":3726484,"avatar_url":"https://avatars.githubusercontent.com/u/3726484?v=3","gravatar_id":"","url":"https://api.github.com/users/czardoz","html_url":"https://github.com/czardoz","followers_url":"https://api.github.com/users/czardoz/followers","following_url":"https://api.github.com/users/czardoz/following{/other_user}","gists_url":"https://api.github.com/users/czardoz/gists{/gist_id}","starred_url":"https://api.github.com/users/czardoz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/czardoz/subscriptions","organizations_url":"https://api.github.com/users/czardoz/orgs","repos_url":"https://api.github.com/users/czardoz/repos","events_url":"https://api.github.com/users/czardoz/events{/privacy}","received_events_url":"https://api.github.com/users/czardoz/received_events","type":"User","site_admin":false},"body":"Also updated to the latest upstream code, to fix the tests.","created_at":"2016-09-13T10:09:29Z","updated_at":"2016-09-14T09:49:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e06f0a972105ee479d7681aae3edf0b04725e6cf","assignee":{"login":"shamasis","id":232373,"avatar_url":"https://avatars.githubusercontent.com/u/232373?v=3","gravatar_id":"","url":"https://api.github.com/users/shamasis","html_url":"https://github.com/shamasis","followers_url":"https://api.github.com/users/shamasis/followers","following_url":"https://api.github.com/users/shamasis/following{/other_user}","gists_url":"https://api.github.com/users/shamasis/gists{/gist_id}","starred_url":"https://api.github.com/users/shamasis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shamasis/subscriptions","organizations_url":"https://api.github.com/users/shamasis/orgs","repos_url":"https://api.github.com/users/shamasis/repos","events_url":"https://api.github.com/users/shamasis/events{/privacy}","received_events_url":"https://api.github.com/users/shamasis/received_events","type":"User","site_admin":false},"assignees":[{"login":"shamasis","id":232373,"avatar_url":"https://avatars.githubusercontent.com/u/232373?v=3","gravatar_id":"","url":"https://api.github.com/users/shamasis","html_url":"https://github.com/shamasis","followers_url":"https://api.github.com/users/shamasis/followers","following_url":"https://api.github.com/users/shamasis/following{/other_user}","gists_url":"https://api.github.com/users/shamasis/gists{/gist_id}","starred_url":"https://api.github.com/users/shamasis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shamasis/subscriptions","organizations_url":"https://api.github.com/users/shamasis/orgs","repos_url":"https://api.github.com/users/shamasis/repos","events_url":"https://api.github.com/users/shamasis/events{/privacy}","received_events_url":"https://api.github.com/users/shamasis/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/postmanlabs/postman-request/pulls/2/commits","review_comments_url":"https://api.github.com/repos/postmanlabs/postman-request/pulls/2/comments","review_comment_url":"https://api.github.com/repos/postmanlabs/postman-request/pulls/comments{/number}","comments_url":"https://api.github.com/repos/postmanlabs/postman-request/issues/2/comments","statuses_url":"https://api.github.com/repos/postmanlabs/postman-request/statuses/b8eb3a484eb516a51e1770170d597b2c909fed88","head":{"label":"postmanlabs:feature/query-string","ref":"feature/query-string","sha":"b8eb3a484eb516a51e1770170d597b2c909fed88","user":{"login":"postmanlabs","id":10251060,"avatar_url":"https://avatars.githubusercontent.com/u/10251060?v=3","gravatar_id":"","url":"https://api.github.com/users/postmanlabs","html_url":"https://github.com/postmanlabs","followers_url":"https://api.github.com/users/postmanlabs/followers","following_url":"https://api.github.com/users/postmanlabs/following{/other_user}","gists_url":"https://api.github.com/users/postmanlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/postmanlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/postmanlabs/subscriptions","organizations_url":"https://api.github.com/users/postmanlabs/orgs","repos_url":"https://api.github.com/users/postmanlabs/repos","events_url":"https://api.github.com/users/postmanlabs/events{/privacy}","received_events_url":"https://api.github.com/users/postmanlabs/received_events","type":"Organization","site_admin":false},"repo":{"id":66355330,"name":"postman-request","full_name":"postmanlabs/postman-request","owner":{"login":"postmanlabs","id":10251060,"avatar_url":"https://avatars.githubusercontent.com/u/10251060?v=3","gravatar_id":"","url":"https://api.github.com/users/postmanlabs","html_url":"https://github.com/postmanlabs","followers_url":"https://api.github.com/users/postmanlabs/followers","following_url":"https://api.github.com/users/postmanlabs/following{/other_user}","gists_url":"https://api.github.com/users/postmanlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/postmanlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/postmanlabs/subscriptions","organizations_url":"https://api.github.com/users/postmanlabs/orgs","repos_url":"https://api.github.com/users/postmanlabs/repos","events_url":"https://api.github.com/users/postmanlabs/events{/privacy}","received_events_url":"https://api.github.com/users/postmanlabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/postmanlabs/postman-request","description":"Simplified HTTP request client.","fork":true,"url":"https://api.github.com/repos/postmanlabs/postman-request","forks_url":"https://api.github.com/repos/postmanlabs/postman-request/forks","keys_url":"https://api.github.com/repos/postmanlabs/postman-request/keys{/key_id}","collaborators_url":"https://api.github.com/repos/postmanlabs/postman-request/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/postmanlabs/postman-request/teams","hooks_url":"https://api.github.com/repos/postmanlabs/postman-request/hooks","issue_events_url":"https://api.github.com/repos/postmanlabs/postman-request/issues/events{/number}","events_url":"https://api.github.com/repos/postmanlabs/postman-request/events","assignees_url":"https://api.github.com/repos/postmanlabs/postman-request/assignees{/user}","branches_url":"https://api.github.com/repos/postmanlabs/postman-request/branches{/branch}","tags_url":"https://api.github.com/repos/postmanlabs/postman-request/tags","blobs_url":"https://api.github.com/repos/postmanlabs/postman-request/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/postmanlabs/postman-request/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/postmanlabs/postman-request/git/refs{/sha}","trees_url":"https://api.github.com/repos/postmanlabs/postman-request/git/trees{/sha}","statuses_url":"https://api.github.com/repos/postmanlabs/postman-request/statuses/{sha}","languages_url":"https://api.github.com/repos/postmanlabs/postman-request/languages","stargazers_url":"https://api.github.com/repos/postmanlabs/postman-request/stargazers","contributors_url":"https://api.github.com/repos/postmanlabs/postman-request/contributors","subscribers_url":"https://api.github.com/repos/postmanlabs/postman-request/subscribers","subscription_url":"https://api.github.com/repos/postmanlabs/postman-request/subscription","commits_url":"https://api.github.com/repos/postmanlabs/postman-request/commits{/sha}","git_commits_url":"https://api.github.com/repos/postmanlabs/postman-request/git/commits{/sha}","comments_url":"https://api.github.com/repos/postmanlabs/postman-request/comments{/number}","issue_comment_url":"https://api.github.com/repos/postmanlabs/postman-request/issues/comments{/number}","contents_url":"https://api.github.com/repos/postmanlabs/postman-request/contents/{+path}","compare_url":"https://api.github.com/repos/postmanlabs/postman-request/compare/{base}...{head}","merges_url":"https://api.github.com/repos/postmanlabs/postman-request/merges","archive_url":"https://api.github.com/repos/postmanlabs/postman-request/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/postmanlabs/postman-request/downloads","issues_url":"https://api.github.com/repos/postmanlabs/postman-request/issues{/number}","pulls_url":"https://api.github.com/repos/postmanlabs/postman-request/pulls{/number}","milestones_url":"https://api.github.com/repos/postmanlabs/postman-request/milestones{/number}","notifications_url":"https://api.github.com/repos/postmanlabs/postman-request/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/postmanlabs/postman-request/labels{/name}","releases_url":"https://api.github.com/repos/postmanlabs/postman-request/releases{/id}","deployments_url":"https://api.github.com/repos/postmanlabs/postman-request/deployments","created_at":"2016-08-23T09:58:21Z","updated_at":"2016-08-23T09:58:40Z","pushed_at":"2016-09-14T09:45:39Z","git_url":"git://github.com/postmanlabs/postman-request.git","ssh_url":"git@github.com:postmanlabs/postman-request.git","clone_url":"https://github.com/postmanlabs/postman-request.git","svn_url":"https://github.com/postmanlabs/postman-request","homepage":"","size":2081,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"postmanlabs:master","ref":"master","sha":"a9782c216a160a5d29f94b237ae473c3c1d517f8","user":{"login":"postmanlabs","id":10251060,"avatar_url":"https://avatars.githubusercontent.com/u/10251060?v=3","gravatar_id":"","url":"https://api.github.com/users/postmanlabs","html_url":"https://github.com/postmanlabs","followers_url":"https://api.github.com/users/postmanlabs/followers","following_url":"https://api.github.com/users/postmanlabs/following{/other_user}","gists_url":"https://api.github.com/users/postmanlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/postmanlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/postmanlabs/subscriptions","organizations_url":"https://api.github.com/users/postmanlabs/orgs","repos_url":"https://api.github.com/users/postmanlabs/repos","events_url":"https://api.github.com/users/postmanlabs/events{/privacy}","received_events_url":"https://api.github.com/users/postmanlabs/received_events","type":"Organization","site_admin":false},"repo":{"id":66355330,"name":"postman-request","full_name":"postmanlabs/postman-request","owner":{"login":"postmanlabs","id":10251060,"avatar_url":"https://avatars.githubusercontent.com/u/10251060?v=3","gravatar_id":"","url":"https://api.github.com/users/postmanlabs","html_url":"https://github.com/postmanlabs","followers_url":"https://api.github.com/users/postmanlabs/followers","following_url":"https://api.github.com/users/postmanlabs/following{/other_user}","gists_url":"https://api.github.com/users/postmanlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/postmanlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/postmanlabs/subscriptions","organizations_url":"https://api.github.com/users/postmanlabs/orgs","repos_url":"https://api.github.com/users/postmanlabs/repos","events_url":"https://api.github.com/users/postmanlabs/events{/privacy}","received_events_url":"https://api.github.com/users/postmanlabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/postmanlabs/postman-request","description":"Simplified HTTP request client.","fork":true,"url":"https://api.github.com/repos/postmanlabs/postman-request","forks_url":"https://api.github.com/repos/postmanlabs/postman-request/forks","keys_url":"https://api.github.com/repos/postmanlabs/postman-request/keys{/key_id}","collaborators_url":"https://api.github.com/repos/postmanlabs/postman-request/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/postmanlabs/postman-request/teams","hooks_url":"https://api.github.com/repos/postmanlabs/postman-request/hooks","issue_events_url":"https://api.github.com/repos/postmanlabs/postman-request/issues/events{/number}","events_url":"https://api.github.com/repos/postmanlabs/postman-request/events","assignees_url":"https://api.github.com/repos/postmanlabs/postman-request/assignees{/user}","branches_url":"https://api.github.com/repos/postmanlabs/postman-request/branches{/branch}","tags_url":"https://api.github.com/repos/postmanlabs/postman-request/tags","blobs_url":"https://api.github.com/repos/postmanlabs/postman-request/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/postmanlabs/postman-request/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/postmanlabs/postman-request/git/refs{/sha}","trees_url":"https://api.github.com/repos/postmanlabs/postman-request/git/trees{/sha}","statuses_url":"https://api.github.com/repos/postmanlabs/postman-request/statuses/{sha}","languages_url":"https://api.github.com/repos/postmanlabs/postman-request/languages","stargazers_url":"https://api.github.com/repos/postmanlabs/postman-request/stargazers","contributors_url":"https://api.github.com/repos/postmanlabs/postman-request/contributors","subscribers_url":"https://api.github.com/repos/postmanlabs/postman-request/subscribers","subscription_url":"https://api.github.com/repos/postmanlabs/postman-request/subscription","commits_url":"https://api.github.com/repos/postmanlabs/postman-request/commits{/sha}","git_commits_url":"https://api.github.com/repos/postmanlabs/postman-request/git/commits{/sha}","comments_url":"https://api.github.com/repos/postmanlabs/postman-request/comments{/number}","issue_comment_url":"https://api.github.com/repos/postmanlabs/postman-request/issues/comments{/number}","contents_url":"https://api.github.com/repos/postmanlabs/postman-request/contents/{+path}","compare_url":"https://api.github.com/repos/postmanlabs/postman-request/compare/{base}...{head}","merges_url":"https://api.github.com/repos/postmanlabs/postman-request/merges","archive_url":"https://api.github.com/repos/postmanlabs/postman-request/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/postmanlabs/postman-request/downloads","issues_url":"https://api.github.com/repos/postmanlabs/postman-request/issues{/number}","pulls_url":"https://api.github.com/repos/postmanlabs/postman-request/pulls{/number}","milestones_url":"https://api.github.com/repos/postmanlabs/postman-request/milestones{/number}","notifications_url":"https://api.github.com/repos/postmanlabs/postman-request/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/postmanlabs/postman-request/labels{/name}","releases_url":"https://api.github.com/repos/postmanlabs/postman-request/releases{/id}","deployments_url":"https://api.github.com/repos/postmanlabs/postman-request/deployments","created_at":"2016-08-23T09:58:21Z","updated_at":"2016-08-23T09:58:40Z","pushed_at":"2016-09-14T09:45:39Z","git_url":"git://github.com/postmanlabs/postman-request.git","ssh_url":"git@github.com:postmanlabs/postman-request.git","clone_url":"https://github.com/postmanlabs/postman-request.git","svn_url":"https://github.com/postmanlabs/postman-request","homepage":"","size":2081,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/postmanlabs/postman-request/pulls/2"},"html":{"href":"https://github.com/postmanlabs/postman-request/pull/2"},"issue":{"href":"https://api.github.com/repos/postmanlabs/postman-request/issues/2"},"comments":{"href":"https://api.github.com/repos/postmanlabs/postman-request/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/postmanlabs/postman-request/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/postmanlabs/postman-request/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/postmanlabs/postman-request/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/postmanlabs/postman-request/statuses/b8eb3a484eb516a51e1770170d597b2c909fed88"}}}}
{"actor":{"display_login":"shamasis"}}