{"action":"opened","number":29062,"pull_request":{"url":"https://api.github.com/repos/rails/rails/pulls/29062","id":120377639,"html_url":"https://github.com/rails/rails/pull/29062","diff_url":"https://github.com/rails/rails/pull/29062.diff","patch_url":"https://github.com/rails/rails/pull/29062.patch","issue_url":"https://api.github.com/repos/rails/rails/issues/29062","number":29062,"state":"open","locked":false,"title":"Maintain original encoding from path","user":{"login":"eileencodes","id":1080678,"avatar_url":"https://avatars3.githubusercontent.com/u/1080678?v=3","gravatar_id":"","url":"https://api.github.com/users/eileencodes","html_url":"https://github.com/eileencodes","followers_url":"https://api.github.com/users/eileencodes/followers","following_url":"https://api.github.com/users/eileencodes/following{/other_user}","gists_url":"https://api.github.com/users/eileencodes/gists{/gist_id}","starred_url":"https://api.github.com/users/eileencodes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eileencodes/subscriptions","organizations_url":"https://api.github.com/users/eileencodes/orgs","repos_url":"https://api.github.com/users/eileencodes/repos","events_url":"https://api.github.com/users/eileencodes/events{/privacy}","received_events_url":"https://api.github.com/users/eileencodes/received_events","type":"User","site_admin":true},"body":"When the path info is read from the socket it's encoded as ASCII 8BIT.\r\nThe unescape method changes the encoding to UTF8 but it should maintain\r\nthe encoding of the string that's passed in.\r\n\r\nThis causes parameters to be force encoded to UTF8 when we don't\r\nactually know what the encoding of the parameter should be.\r\n\r\nOpening a PR to see if CI breaks.\r\n\r\ncc/ @tenderlove ","created_at":"2017-05-12T18:14:46Z","updated_at":"2017-05-12T18:14:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/rails/rails/pulls/29062/commits","review_comments_url":"https://api.github.com/repos/rails/rails/pulls/29062/comments","review_comment_url":"https://api.github.com/repos/rails/rails/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rails/rails/issues/29062/comments","statuses_url":"https://api.github.com/repos/rails/rails/statuses/8607c25ba7810573733d9b37d0015154ba059f5e","head":{"label":"eileencodes:force-encoding-to-original-string-encoding","ref":"force-encoding-to-original-string-encoding","sha":"8607c25ba7810573733d9b37d0015154ba059f5e","user":{"login":"eileencodes","id":1080678,"avatar_url":"https://avatars3.githubusercontent.com/u/1080678?v=3","gravatar_id":"","url":"https://api.github.com/users/eileencodes","html_url":"https://github.com/eileencodes","followers_url":"https://api.github.com/users/eileencodes/followers","following_url":"https://api.github.com/users/eileencodes/following{/other_user}","gists_url":"https://api.github.com/users/eileencodes/gists{/gist_id}","starred_url":"https://api.github.com/users/eileencodes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eileencodes/subscriptions","organizations_url":"https://api.github.com/users/eileencodes/orgs","repos_url":"https://api.github.com/users/eileencodes/repos","events_url":"https://api.github.com/users/eileencodes/events{/privacy}","received_events_url":"https://api.github.com/users/eileencodes/received_events","type":"User","site_admin":true},"repo":{"id":18083561,"name":"rails","full_name":"eileencodes/rails","owner":{"login":"eileencodes","id":1080678,"avatar_url":"https://avatars3.githubusercontent.com/u/1080678?v=3","gravatar_id":"","url":"https://api.github.com/users/eileencodes","html_url":"https://github.com/eileencodes","followers_url":"https://api.github.com/users/eileencodes/followers","following_url":"https://api.github.com/users/eileencodes/following{/other_user}","gists_url":"https://api.github.com/users/eileencodes/gists{/gist_id}","starred_url":"https://api.github.com/users/eileencodes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eileencodes/subscriptions","organizations_url":"https://api.github.com/users/eileencodes/orgs","repos_url":"https://api.github.com/users/eileencodes/repos","events_url":"https://api.github.com/users/eileencodes/events{/privacy}","received_events_url":"https://api.github.com/users/eileencodes/received_events","type":"User","site_admin":true},"private":false,"html_url":"https://github.com/eileencodes/rails","description":"Ruby on Rails","fork":true,"url":"https://api.github.com/repos/eileencodes/rails","forks_url":"https://api.github.com/repos/eileencodes/rails/forks","keys_url":"https://api.github.com/repos/eileencodes/rails/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eileencodes/rails/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eileencodes/rails/teams","hooks_url":"https://api.github.com/repos/eileencodes/rails/hooks","issue_events_url":"https://api.github.com/repos/eileencodes/rails/issues/events{/number}","events_url":"https://api.github.com/repos/eileencodes/rails/events","assignees_url":"https://api.github.com/repos/eileencodes/rails/assignees{/user}","branches_url":"https://api.github.com/repos/eileencodes/rails/branches{/branch}","tags_url":"https://api.github.com/repos/eileencodes/rails/tags","blobs_url":"https://api.github.com/repos/eileencodes/rails/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eileencodes/rails/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eileencodes/rails/git/refs{/sha}","trees_url":"https://api.github.com/repos/eileencodes/rails/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eileencodes/rails/statuses/{sha}","languages_url":"https://api.github.com/repos/eileencodes/rails/languages","stargazers_url":"https://api.github.com/repos/eileencodes/rails/stargazers","contributors_url":"https://api.github.com/repos/eileencodes/rails/contributors","subscribers_url":"https://api.github.com/repos/eileencodes/rails/subscribers","subscription_url":"https://api.github.com/repos/eileencodes/rails/subscription","commits_url":"https://api.github.com/repos/eileencodes/rails/commits{/sha}","git_commits_url":"https://api.github.com/repos/eileencodes/rails/git/commits{/sha}","comments_url":"https://api.github.com/repos/eileencodes/rails/comments{/number}","issue_comment_url":"https://api.github.com/repos/eileencodes/rails/issues/comments{/number}","contents_url":"https://api.github.com/repos/eileencodes/rails/contents/{+path}","compare_url":"https://api.github.com/repos/eileencodes/rails/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eileencodes/rails/merges","archive_url":"https://api.github.com/repos/eileencodes/rails/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eileencodes/rails/downloads","issues_url":"https://api.github.com/repos/eileencodes/rails/issues{/number}","pulls_url":"https://api.github.com/repos/eileencodes/rails/pulls{/number}","milestones_url":"https://api.github.com/repos/eileencodes/rails/milestones{/number}","notifications_url":"https://api.github.com/repos/eileencodes/rails/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eileencodes/rails/labels{/name}","releases_url":"https://api.github.com/repos/eileencodes/rails/releases{/id}","deployments_url":"https://api.github.com/repos/eileencodes/rails/deployments","created_at":"2014-03-25T00:18:13Z","updated_at":"2016-01-15T18:33:54Z","pushed_at":"2017-05-12T18:14:11Z","git_url":"git://github.com/eileencodes/rails.git","ssh_url":"git@github.com:eileencodes/rails.git","clone_url":"https://github.com/eileencodes/rails.git","svn_url":"https://github.com/eileencodes/rails","homepage":"http://rubyonrails.org","size":140355,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"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":"rails:master","ref":"master","sha":"b30760a4846d04bc48c787c95013208950906f5e","user":{"login":"rails","id":4223,"avatar_url":"https://avatars2.githubusercontent.com/u/4223?v=3","gravatar_id":"","url":"https://api.github.com/users/rails","html_url":"https://github.com/rails","followers_url":"https://api.github.com/users/rails/followers","following_url":"https://api.github.com/users/rails/following{/other_user}","gists_url":"https://api.github.com/users/rails/gists{/gist_id}","starred_url":"https://api.github.com/users/rails/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rails/subscriptions","organizations_url":"https://api.github.com/users/rails/orgs","repos_url":"https://api.github.com/users/rails/repos","events_url":"https://api.github.com/users/rails/events{/privacy}","received_events_url":"https://api.github.com/users/rails/received_events","type":"Organization","site_admin":false},"repo":{"id":8514,"name":"rails","full_name":"rails/rails","owner":{"login":"rails","id":4223,"avatar_url":"https://avatars2.githubusercontent.com/u/4223?v=3","gravatar_id":"","url":"https://api.github.com/users/rails","html_url":"https://github.com/rails","followers_url":"https://api.github.com/users/rails/followers","following_url":"https://api.github.com/users/rails/following{/other_user}","gists_url":"https://api.github.com/users/rails/gists{/gist_id}","starred_url":"https://api.github.com/users/rails/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rails/subscriptions","organizations_url":"https://api.github.com/users/rails/orgs","repos_url":"https://api.github.com/users/rails/repos","events_url":"https://api.github.com/users/rails/events{/privacy}","received_events_url":"https://api.github.com/users/rails/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rails/rails","description":"Ruby on Rails","fork":false,"url":"https://api.github.com/repos/rails/rails","forks_url":"https://api.github.com/repos/rails/rails/forks","keys_url":"https://api.github.com/repos/rails/rails/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rails/rails/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rails/rails/teams","hooks_url":"https://api.github.com/repos/rails/rails/hooks","issue_events_url":"https://api.github.com/repos/rails/rails/issues/events{/number}","events_url":"https://api.github.com/repos/rails/rails/events","assignees_url":"https://api.github.com/repos/rails/rails/assignees{/user}","branches_url":"https://api.github.com/repos/rails/rails/branches{/branch}","tags_url":"https://api.github.com/repos/rails/rails/tags","blobs_url":"https://api.github.com/repos/rails/rails/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rails/rails/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rails/rails/git/refs{/sha}","trees_url":"https://api.github.com/repos/rails/rails/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rails/rails/statuses/{sha}","languages_url":"https://api.github.com/repos/rails/rails/languages","stargazers_url":"https://api.github.com/repos/rails/rails/stargazers","contributors_url":"https://api.github.com/repos/rails/rails/contributors","subscribers_url":"https://api.github.com/repos/rails/rails/subscribers","subscription_url":"https://api.github.com/repos/rails/rails/subscription","commits_url":"https://api.github.com/repos/rails/rails/commits{/sha}","git_commits_url":"https://api.github.com/repos/rails/rails/git/commits{/sha}","comments_url":"https://api.github.com/repos/rails/rails/comments{/number}","issue_comment_url":"https://api.github.com/repos/rails/rails/issues/comments{/number}","contents_url":"https://api.github.com/repos/rails/rails/contents/{+path}","compare_url":"https://api.github.com/repos/rails/rails/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rails/rails/merges","archive_url":"https://api.github.com/repos/rails/rails/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rails/rails/downloads","issues_url":"https://api.github.com/repos/rails/rails/issues{/number}","pulls_url":"https://api.github.com/repos/rails/rails/pulls{/number}","milestones_url":"https://api.github.com/repos/rails/rails/milestones{/number}","notifications_url":"https://api.github.com/repos/rails/rails/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rails/rails/labels{/name}","releases_url":"https://api.github.com/repos/rails/rails/releases{/id}","deployments_url":"https://api.github.com/repos/rails/rails/deployments","created_at":"2008-04-11T02:19:47Z","updated_at":"2017-05-12T16:36:13Z","pushed_at":"2017-05-12T16:03:13Z","git_url":"git://github.com/rails/rails.git","ssh_url":"git@github.com:rails/rails.git","clone_url":"https://github.com/rails/rails.git","svn_url":"https://github.com/rails/rails","homepage":"http://rubyonrails.org","size":146289,"stargazers_count":35592,"watchers_count":35592,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":14511,"mirror_url":null,"open_issues_count":1178,"forks":14511,"open_issues":1178,"watchers":35592,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rails/rails/pulls/29062"},"html":{"href":"https://github.com/rails/rails/pull/29062"},"issue":{"href":"https://api.github.com/repos/rails/rails/issues/29062"},"comments":{"href":"https://api.github.com/repos/rails/rails/issues/29062/comments"},"review_comments":{"href":"https://api.github.com/repos/rails/rails/pulls/29062/comments"},"review_comment":{"href":"https://api.github.com/repos/rails/rails/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rails/rails/pulls/29062/commits"},"statuses":{"href":"https://api.github.com/repos/rails/rails/statuses/8607c25ba7810573733d9b37d0015154ba059f5e"}},"merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":7,"deletions":0,"changed_files":2}}
{"actor":{"display_login":"eileencodes"}}