{"action":"created","issue":{"url":"https://api.github.com/repos/laravel/framework/issues/4296","labels_url":"https://api.github.com/repos/laravel/framework/issues/4296/labels{/name}","comments_url":"https://api.github.com/repos/laravel/framework/issues/4296/comments","events_url":"https://api.github.com/repos/laravel/framework/issues/4296/events","html_url":"https://github.com/laravel/framework/pull/4296","id":32612485,"number":4296,"title":"Download files with non-ascii characters v2","user":{"login":"ejoseca","id":6214365,"avatar_url":"https://avatars.githubusercontent.com/u/6214365?v=3","gravatar_id":"","url":"https://api.github.com/users/ejoseca","html_url":"https://github.com/ejoseca","followers_url":"https://api.github.com/users/ejoseca/followers","following_url":"https://api.github.com/users/ejoseca/following{/other_user}","gists_url":"https://api.github.com/users/ejoseca/gists{/gist_id}","starred_url":"https://api.github.com/users/ejoseca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ejoseca/subscriptions","organizations_url":"https://api.github.com/users/ejoseca/orgs","repos_url":"https://api.github.com/users/ejoseca/repos","events_url":"https://api.github.com/users/ejoseca/events{/privacy}","received_events_url":"https://api.github.com/users/ejoseca/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2014-05-01T12:40:32Z","updated_at":"2015-09-14T17:52:23Z","closed_at":"2014-05-02T14:08:02Z","pull_request":{"url":"https://api.github.com/repos/laravel/framework/pulls/4296","html_url":"https://github.com/laravel/framework/pull/4296","diff_url":"https://github.com/laravel/framework/pull/4296.diff","patch_url":"https://github.com/laravel/framework/pull/4296.patch"},"body":"We can't set the ContentDisposition 'attachment' in the constructor.\r\nIf the filename contains non-ascii characters, the constructor will throw an exception.\r\nIn this revision, if you don't specify a name, it is taken from the filename (this is what Symphony does if you don't provide a name, but here we can convert the filename to an ascii string so it won't throw any exception)."},"comment":{"url":"https://api.github.com/repos/laravel/framework/issues/comments/140158808","html_url":"https://github.com/laravel/framework/pull/4296#issuecomment-140158808","issue_url":"https://api.github.com/repos/laravel/framework/issues/4296","id":140158808,"user":{"login":"jee7","id":3455815,"avatar_url":"https://avatars.githubusercontent.com/u/3455815?v=3","gravatar_id":"","url":"https://api.github.com/users/jee7","html_url":"https://github.com/jee7","followers_url":"https://api.github.com/users/jee7/followers","following_url":"https://api.github.com/users/jee7/following{/other_user}","gists_url":"https://api.github.com/users/jee7/gists{/gist_id}","starred_url":"https://api.github.com/users/jee7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jee7/subscriptions","organizations_url":"https://api.github.com/users/jee7/orgs","repos_url":"https://api.github.com/users/jee7/repos","events_url":"https://api.github.com/users/jee7/events{/privacy}","received_events_url":"https://api.github.com/users/jee7/received_events","type":"User","site_admin":false},"created_at":"2015-09-14T17:52:23Z","updated_at":"2015-09-14T17:52:23Z","body":"Would also like that to be fixed. Nowadays it shouldn't be any problem if there are non-ASCII characters in the file name. Why is this even checked?"}}