{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/corefx/issues/11159","repository_url":"https://api.github.com/repos/dotnet/corefx","labels_url":"https://api.github.com/repos/dotnet/corefx/issues/11159/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/corefx/issues/11159/comments","events_url":"https://api.github.com/repos/dotnet/corefx/issues/11159/events","html_url":"https://github.com/dotnet/corefx/pull/11159","id":173312967,"number":11159,"title":"Fix WinHttpHandler uri escaping for HTTP requests","user":{"login":"davidsh","id":7684835,"avatar_url":"https://avatars.githubusercontent.com/u/7684835?v=3","gravatar_id":"","url":"https://api.github.com/users/davidsh","html_url":"https://github.com/davidsh","followers_url":"https://api.github.com/users/davidsh/followers","following_url":"https://api.github.com/users/davidsh/following{/other_user}","gists_url":"https://api.github.com/users/davidsh/gists{/gist_id}","starred_url":"https://api.github.com/users/davidsh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidsh/subscriptions","organizations_url":"https://api.github.com/users/davidsh/orgs","repos_url":"https://api.github.com/users/davidsh/repos","events_url":"https://api.github.com/users/davidsh/events{/privacy}","received_events_url":"https://api.github.com/users/davidsh/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dotnet/corefx/labels/3%20-%20Ready%20For%20Review","name":"3 - Ready For Review","color":"CCCCCC"},{"url":"https://api.github.com/repos/dotnet/corefx/labels/blocking-partner","name":"blocking-partner","color":"e11d21"},{"url":"https://api.github.com/repos/dotnet/corefx/labels/cla-already-signed","name":"cla-already-signed","color":"009800"},{"url":"https://api.github.com/repos/dotnet/corefx/labels/System.Net","name":"System.Net","color":"d4c5f9"}],"state":"open","locked":false,"assignee":{"login":"davidsh","id":7684835,"avatar_url":"https://avatars.githubusercontent.com/u/7684835?v=3","gravatar_id":"","url":"https://api.github.com/users/davidsh","html_url":"https://github.com/davidsh","followers_url":"https://api.github.com/users/davidsh/followers","following_url":"https://api.github.com/users/davidsh/following{/other_user}","gists_url":"https://api.github.com/users/davidsh/gists{/gist_id}","starred_url":"https://api.github.com/users/davidsh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidsh/subscriptions","organizations_url":"https://api.github.com/users/davidsh/orgs","repos_url":"https://api.github.com/users/davidsh/repos","events_url":"https://api.github.com/users/davidsh/events{/privacy}","received_events_url":"https://api.github.com/users/davidsh/received_events","type":"User","site_admin":false},"assignees":[{"login":"davidsh","id":7684835,"avatar_url":"https://avatars.githubusercontent.com/u/7684835?v=3","gravatar_id":"","url":"https://api.github.com/users/davidsh","html_url":"https://github.com/davidsh","followers_url":"https://api.github.com/users/davidsh/followers","following_url":"https://api.github.com/users/davidsh/following{/other_user}","gists_url":"https://api.github.com/users/davidsh/gists{/gist_id}","starred_url":"https://api.github.com/users/davidsh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidsh/subscriptions","organizations_url":"https://api.github.com/users/davidsh/orgs","repos_url":"https://api.github.com/users/davidsh/repos","events_url":"https://api.github.com/users/davidsh/events{/privacy}","received_events_url":"https://api.github.com/users/davidsh/received_events","type":"User","site_admin":false}],"milestone":null,"comments":8,"created_at":"2016-08-25T21:20:25Z","updated_at":"2016-08-26T00:32:28Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/dotnet/corefx/pulls/11159","html_url":"https://github.com/dotnet/corefx/pull/11159","diff_url":"https://github.com/dotnet/corefx/pull/11159.diff","patch_url":"https://github.com/dotnet/corefx/pull/11159.patch"},"body":"There is a behavior difference between .NET Framework (Desktop) and\r\nCoreFx. Desktop will send some reserved characters (such as square\r\nbrackets) on the wire as-is without any percent-encoding. CoreFx using\r\nWinHttpHandler is doing additional percent-encoding on those characters.\r\n\r\nThis fix changes WinHttpHandler behavior so that it won't do any additional\r\npercent-encoding. Whatever encoding System.Uri has done will be\r\ntransmitted as-is.\r\n\r\nThere is a separate problem where System.Uri itself doesn't\r\npercent-encode these characters during normalization. That is due to\r\nchanges in the .NET Framework 4.5 timeframe (2012) where System.Uri was changed to\r\nfollow more IRI (RFC 3987) rules. One could argue that was the real\r\nproblem. But since this behavior is already baked into .NET Framework,\r\nthe right fix for the below issue is to match Desktop behavior.\r\n\r\nWe will be having a separate discussion/issue to analyze/debate whether System.Uri\r\nneeds to be changed (or not) in the future. The various URI and HTTP RFCs have\r\nambiguous language in these areas.\r\n\r\nFixes #11156"},"comment":{"url":"https://api.github.com/repos/dotnet/corefx/issues/comments/242587740","html_url":"https://github.com/dotnet/corefx/pull/11159#issuecomment-242587740","issue_url":"https://api.github.com/repos/dotnet/corefx/issues/11159","id":242587740,"user":{"login":"davidsh","id":7684835,"avatar_url":"https://avatars.githubusercontent.com/u/7684835?v=3","gravatar_id":"","url":"https://api.github.com/users/davidsh","html_url":"https://github.com/davidsh","followers_url":"https://api.github.com/users/davidsh/followers","following_url":"https://api.github.com/users/davidsh/following{/other_user}","gists_url":"https://api.github.com/users/davidsh/gists{/gist_id}","starred_url":"https://api.github.com/users/davidsh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidsh/subscriptions","organizations_url":"https://api.github.com/users/davidsh/orgs","repos_url":"https://api.github.com/users/davidsh/repos","events_url":"https://api.github.com/users/davidsh/events{/privacy}","received_events_url":"https://api.github.com/users/davidsh/received_events","type":"User","site_admin":false},"created_at":"2016-08-26T00:32:28Z","updated_at":"2016-08-26T00:32:28Z","body":"@dotnet-bot Test Innerloop OSX Release Build and Test"}}
{"actor":{"display_login":"davidsh"}}