{"action":"created","comment":{"url":"https://api.github.com/repos/aspnet/HttpAbstractions/pulls/comments/44387163","id":44387163,"diff_hunk":"@@ -48,7 +51,15 @@ public static class UriHelper\n             FragmentString fragment = new FragmentString())\n         {\n             string combinePath = (pathBase.HasValue || path.HasValue) ? (pathBase + path).ToString() : \"/\";\n-            return $\"{scheme}://{host.ToString()}{combinePath}{query.ToString()}{fragment.ToString()}\";\n+\n+            return new StringBuilder()","path":"src/Microsoft.AspNet.Http.Extensions/UriHelper.cs","position":23,"original_position":23,"commit_id":"663c7917d04a3bfdab464896b38a6657956178eb","original_commit_id":"663c7917d04a3bfdab464896b38a6657956178eb","user":{"login":"benaadams","id":1142958,"avatar_url":"https://avatars.githubusercontent.com/u/1142958?v=3","gravatar_id":"","url":"https://api.github.com/users/benaadams","html_url":"https://github.com/benaadams","followers_url":"https://api.github.com/users/benaadams/followers","following_url":"https://api.github.com/users/benaadams/following{/other_user}","gists_url":"https://api.github.com/users/benaadams/gists{/gist_id}","starred_url":"https://api.github.com/users/benaadams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benaadams/subscriptions","organizations_url":"https://api.github.com/users/benaadams/orgs","repos_url":"https://api.github.com/users/benaadams/repos","events_url":"https://api.github.com/users/benaadams/events{/privacy}","received_events_url":"https://api.github.com/users/benaadams/received_events","type":"User","site_admin":false},"body":"Add up lengths first and initialize with capacity?","created_at":"2015-11-10T09:50:39Z","updated_at":"2015-11-10T09:50:39Z","html_url":"https://github.com/aspnet/HttpAbstractions/pull/469#discussion_r44387163","pull_request_url":"https://api.github.com/repos/aspnet/HttpAbstractions/pulls/469","_links":{"self":{"href":"https://api.github.com/repos/aspnet/HttpAbstractions/pulls/comments/44387163"},"html":{"href":"https://github.com/aspnet/HttpAbstractions/pull/469#discussion_r44387163"},"pull_request":{"href":"https://api.github.com/repos/aspnet/HttpAbstractions/pulls/469"}}},"pull_request":{"url":"https://api.github.com/repos/aspnet/HttpAbstractions/pulls/469","id":50230923,"html_url":"https://github.com/aspnet/HttpAbstractions/pull/469","diff_url":"https://github.com/aspnet/HttpAbstractions/pull/469.diff","patch_url":"https://github.com/aspnet/HttpAbstractions/pull/469.patch","issue_url":"https://api.github.com/repos/aspnet/HttpAbstractions/issues/469","number":469,"state":"open","locked":false,"title":"Changed string.Format to StringBuilder","user":{"login":"khellang","id":582487,"avatar_url":"https://avatars.githubusercontent.com/u/582487?v=3","gravatar_id":"","url":"https://api.github.com/users/khellang","html_url":"https://github.com/khellang","followers_url":"https://api.github.com/users/khellang/followers","following_url":"https://api.github.com/users/khellang/following{/other_user}","gists_url":"https://api.github.com/users/khellang/gists{/gist_id}","starred_url":"https://api.github.com/users/khellang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/khellang/subscriptions","organizations_url":"https://api.github.com/users/khellang/orgs","repos_url":"https://api.github.com/users/khellang/repos","events_url":"https://api.github.com/users/khellang/events{/privacy}","received_events_url":"https://api.github.com/users/khellang/received_events","type":"User","site_admin":false},"body":"// @davidfowl @benaadams ","created_at":"2015-11-10T09:27:27Z","updated_at":"2015-11-10T09:50:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"47a37e414d34c3fc290665848d509fc485def345","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/aspnet/HttpAbstractions/pulls/469/commits","review_comments_url":"https://api.github.com/repos/aspnet/HttpAbstractions/pulls/469/comments","review_comment_url":"https://api.github.com/repos/aspnet/HttpAbstractions/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aspnet/HttpAbstractions/issues/469/comments","statuses_url":"https://api.github.com/repos/aspnet/HttpAbstractions/statuses/663c7917d04a3bfdab464896b38a6657956178eb","head":{"label":"khellang:uri-helper-string-concat","ref":"uri-helper-string-concat","sha":"663c7917d04a3bfdab464896b38a6657956178eb","user":{"login":"khellang","id":582487,"avatar_url":"https://avatars.githubusercontent.com/u/582487?v=3","gravatar_id":"","url":"https://api.github.com/users/khellang","html_url":"https://github.com/khellang","followers_url":"https://api.github.com/users/khellang/followers","following_url":"https://api.github.com/users/khellang/following{/other_user}","gists_url":"https://api.github.com/users/khellang/gists{/gist_id}","starred_url":"https://api.github.com/users/khellang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/khellang/subscriptions","organizations_url":"https://api.github.com/users/khellang/orgs","repos_url":"https://api.github.com/users/khellang/repos","events_url":"https://api.github.com/users/khellang/events{/privacy}","received_events_url":"https://api.github.com/users/khellang/received_events","type":"User","site_admin":false},"repo":{"id":32405182,"name":"HttpAbstractions","full_name":"khellang/HttpAbstractions","owner":{"login":"khellang","id":582487,"avatar_url":"https://avatars.githubusercontent.com/u/582487?v=3","gravatar_id":"","url":"https://api.github.com/users/khellang","html_url":"https://github.com/khellang","followers_url":"https://api.github.com/users/khellang/followers","following_url":"https://api.github.com/users/khellang/following{/other_user}","gists_url":"https://api.github.com/users/khellang/gists{/gist_id}","starred_url":"https://api.github.com/users/khellang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/khellang/subscriptions","organizations_url":"https://api.github.com/users/khellang/orgs","repos_url":"https://api.github.com/users/khellang/repos","events_url":"https://api.github.com/users/khellang/events{/privacy}","received_events_url":"https://api.github.com/users/khellang/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/khellang/HttpAbstractions","description":"HTTP abstractions such as HttpRequest, HttpResponse, and HttpContext, as well as common web utilities.","fork":true,"url":"https://api.github.com/repos/khellang/HttpAbstractions","forks_url":"https://api.github.com/repos/khellang/HttpAbstractions/forks","keys_url":"https://api.github.com/repos/khellang/HttpAbstractions/keys{/key_id}","collaborators_url":"https://api.github.com/repos/khellang/HttpAbstractions/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/khellang/HttpAbstractions/teams","hooks_url":"https://api.github.com/repos/khellang/HttpAbstractions/hooks","issue_events_url":"https://api.github.com/repos/khellang/HttpAbstractions/issues/events{/number}","events_url":"https://api.github.com/repos/khellang/HttpAbstractions/events","assignees_url":"https://api.github.com/repos/khellang/HttpAbstractions/assignees{/user}","branches_url":"https://api.github.com/repos/khellang/HttpAbstractions/branches{/branch}","tags_url":"https://api.github.com/repos/khellang/HttpAbstractions/tags","blobs_url":"https://api.github.com/repos/khellang/HttpAbstractions/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/khellang/HttpAbstractions/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/khellang/HttpAbstractions/git/refs{/sha}","trees_url":"https://api.github.com/repos/khellang/HttpAbstractions/git/trees{/sha}","statuses_url":"https://api.github.com/repos/khellang/HttpAbstractions/statuses/{sha}","languages_url":"https://api.github.com/repos/khellang/HttpAbstractions/languages","stargazers_url":"https://api.github.com/repos/khellang/HttpAbstractions/stargazers","contributors_url":"https://api.github.com/repos/khellang/HttpAbstractions/contributors","subscribers_url":"https://api.github.com/repos/khellang/HttpAbstractions/subscribers","subscription_url":"https://api.github.com/repos/khellang/HttpAbstractions/subscription","commits_url":"https://api.github.com/repos/khellang/HttpAbstractions/commits{/sha}","git_commits_url":"https://api.github.com/repos/khellang/HttpAbstractions/git/commits{/sha}","comments_url":"https://api.github.com/repos/khellang/HttpAbstractions/comments{/number}","issue_comment_url":"https://api.github.com/repos/khellang/HttpAbstractions/issues/comments{/number}","contents_url":"https://api.github.com/repos/khellang/HttpAbstractions/contents/{+path}","compare_url":"https://api.github.com/repos/khellang/HttpAbstractions/compare/{base}...{head}","merges_url":"https://api.github.com/repos/khellang/HttpAbstractions/merges","archive_url":"https://api.github.com/repos/khellang/HttpAbstractions/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/khellang/HttpAbstractions/downloads","issues_url":"https://api.github.com/repos/khellang/HttpAbstractions/issues{/number}","pulls_url":"https://api.github.com/repos/khellang/HttpAbstractions/pulls{/number}","milestones_url":"https://api.github.com/repos/khellang/HttpAbstractions/milestones{/number}","notifications_url":"https://api.github.com/repos/khellang/HttpAbstractions/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/khellang/HttpAbstractions/labels{/name}","releases_url":"https://api.github.com/repos/khellang/HttpAbstractions/releases{/id}","created_at":"2015-03-17T16:21:36Z","updated_at":"2015-03-17T16:21:37Z","pushed_at":"2015-11-10T09:32:10Z","git_url":"git://github.com/khellang/HttpAbstractions.git","ssh_url":"git@github.com:khellang/HttpAbstractions.git","clone_url":"https://github.com/khellang/HttpAbstractions.git","svn_url":"https://github.com/khellang/HttpAbstractions","homepage":"","size":1934,"stargazers_count":0,"watchers_count":0,"language":"C#","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":"dev"}},"base":{"label":"aspnet:dev","ref":"dev","sha":"308dd109a0ad077e820d1c137fd37d31d2f43886","user":{"login":"aspnet","id":6476660,"avatar_url":"https://avatars.githubusercontent.com/u/6476660?v=3","gravatar_id":"","url":"https://api.github.com/users/aspnet","html_url":"https://github.com/aspnet","followers_url":"https://api.github.com/users/aspnet/followers","following_url":"https://api.github.com/users/aspnet/following{/other_user}","gists_url":"https://api.github.com/users/aspnet/gists{/gist_id}","starred_url":"https://api.github.com/users/aspnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aspnet/subscriptions","organizations_url":"https://api.github.com/users/aspnet/orgs","repos_url":"https://api.github.com/users/aspnet/repos","events_url":"https://api.github.com/users/aspnet/events{/privacy}","received_events_url":"https://api.github.com/users/aspnet/received_events","type":"Organization","site_admin":false},"repo":{"id":15320915,"name":"HttpAbstractions","full_name":"aspnet/HttpAbstractions","owner":{"login":"aspnet","id":6476660,"avatar_url":"https://avatars.githubusercontent.com/u/6476660?v=3","gravatar_id":"","url":"https://api.github.com/users/aspnet","html_url":"https://github.com/aspnet","followers_url":"https://api.github.com/users/aspnet/followers","following_url":"https://api.github.com/users/aspnet/following{/other_user}","gists_url":"https://api.github.com/users/aspnet/gists{/gist_id}","starred_url":"https://api.github.com/users/aspnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aspnet/subscriptions","organizations_url":"https://api.github.com/users/aspnet/orgs","repos_url":"https://api.github.com/users/aspnet/repos","events_url":"https://api.github.com/users/aspnet/events{/privacy}","received_events_url":"https://api.github.com/users/aspnet/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/aspnet/HttpAbstractions","description":"HTTP abstractions such as HttpRequest, HttpResponse, and HttpContext, as well as common web utilities.","fork":false,"url":"https://api.github.com/repos/aspnet/HttpAbstractions","forks_url":"https://api.github.com/repos/aspnet/HttpAbstractions/forks","keys_url":"https://api.github.com/repos/aspnet/HttpAbstractions/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aspnet/HttpAbstractions/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aspnet/HttpAbstractions/teams","hooks_url":"https://api.github.com/repos/aspnet/HttpAbstractions/hooks","issue_events_url":"https://api.github.com/repos/aspnet/HttpAbstractions/issues/events{/number}","events_url":"https://api.github.com/repos/aspnet/HttpAbstractions/events","assignees_url":"https://api.github.com/repos/aspnet/HttpAbstractions/assignees{/user}","branches_url":"https://api.github.com/repos/aspnet/HttpAbstractions/branches{/branch}","tags_url":"https://api.github.com/repos/aspnet/HttpAbstractions/tags","blobs_url":"https://api.github.com/repos/aspnet/HttpAbstractions/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aspnet/HttpAbstractions/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aspnet/HttpAbstractions/git/refs{/sha}","trees_url":"https://api.github.com/repos/aspnet/HttpAbstractions/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aspnet/HttpAbstractions/statuses/{sha}","languages_url":"https://api.github.com/repos/aspnet/HttpAbstractions/languages","stargazers_url":"https://api.github.com/repos/aspnet/HttpAbstractions/stargazers","contributors_url":"https://api.github.com/repos/aspnet/HttpAbstractions/contributors","subscribers_url":"https://api.github.com/repos/aspnet/HttpAbstractions/subscribers","subscription_url":"https://api.github.com/repos/aspnet/HttpAbstractions/subscription","commits_url":"https://api.github.com/repos/aspnet/HttpAbstractions/commits{/sha}","git_commits_url":"https://api.github.com/repos/aspnet/HttpAbstractions/git/commits{/sha}","comments_url":"https://api.github.com/repos/aspnet/HttpAbstractions/comments{/number}","issue_comment_url":"https://api.github.com/repos/aspnet/HttpAbstractions/issues/comments{/number}","contents_url":"https://api.github.com/repos/aspnet/HttpAbstractions/contents/{+path}","compare_url":"https://api.github.com/repos/aspnet/HttpAbstractions/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aspnet/HttpAbstractions/merges","archive_url":"https://api.github.com/repos/aspnet/HttpAbstractions/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aspnet/HttpAbstractions/downloads","issues_url":"https://api.github.com/repos/aspnet/HttpAbstractions/issues{/number}","pulls_url":"https://api.github.com/repos/aspnet/HttpAbstractions/pulls{/number}","milestones_url":"https://api.github.com/repos/aspnet/HttpAbstractions/milestones{/number}","notifications_url":"https://api.github.com/repos/aspnet/HttpAbstractions/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aspnet/HttpAbstractions/labels{/name}","releases_url":"https://api.github.com/repos/aspnet/HttpAbstractions/releases{/id}","created_at":"2013-12-19T19:38:45Z","updated_at":"2015-11-09T21:18:39Z","pushed_at":"2015-11-10T09:32:10Z","git_url":"git://github.com/aspnet/HttpAbstractions.git","ssh_url":"git@github.com:aspnet/HttpAbstractions.git","clone_url":"https://github.com/aspnet/HttpAbstractions.git","svn_url":"https://github.com/aspnet/HttpAbstractions","homepage":"","size":5466,"stargazers_count":118,"watchers_count":118,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":56,"mirror_url":null,"open_issues_count":46,"forks":56,"open_issues":46,"watchers":118,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/aspnet/HttpAbstractions/pulls/469"},"html":{"href":"https://github.com/aspnet/HttpAbstractions/pull/469"},"issue":{"href":"https://api.github.com/repos/aspnet/HttpAbstractions/issues/469"},"comments":{"href":"https://api.github.com/repos/aspnet/HttpAbstractions/issues/469/comments"},"review_comments":{"href":"https://api.github.com/repos/aspnet/HttpAbstractions/pulls/469/comments"},"review_comment":{"href":"https://api.github.com/repos/aspnet/HttpAbstractions/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aspnet/HttpAbstractions/pulls/469/commits"},"statuses":{"href":"https://api.github.com/repos/aspnet/HttpAbstractions/statuses/663c7917d04a3bfdab464896b38a6657956178eb"}}}}