{"action":"created","issue":{"url":"https://api.github.com/repos/yiisoft/yii2/issues/9670","labels_url":"https://api.github.com/repos/yiisoft/yii2/issues/9670/labels{/name}","comments_url":"https://api.github.com/repos/yiisoft/yii2/issues/9670/comments","events_url":"https://api.github.com/repos/yiisoft/yii2/issues/9670/events","html_url":"https://github.com/yiisoft/yii2/issues/9670","id":106030228,"number":9670,"title":"Redirect problems in Internet Explorer 11 (IE11)","user":{"login":"w3MediaLabs","id":7306696,"avatar_url":"https://avatars.githubusercontent.com/u/7306696?v=3","gravatar_id":"","url":"https://api.github.com/users/w3MediaLabs","html_url":"https://github.com/w3MediaLabs","followers_url":"https://api.github.com/users/w3MediaLabs/followers","following_url":"https://api.github.com/users/w3MediaLabs/following{/other_user}","gists_url":"https://api.github.com/users/w3MediaLabs/gists{/gist_id}","starred_url":"https://api.github.com/users/w3MediaLabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/w3MediaLabs/subscriptions","organizations_url":"https://api.github.com/users/w3MediaLabs/orgs","repos_url":"https://api.github.com/users/w3MediaLabs/repos","events_url":"https://api.github.com/users/w3MediaLabs/events{/privacy}","received_events_url":"https://api.github.com/users/w3MediaLabs/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/yiisoft/yii2/labels/type:bug","name":"type:bug","color":"e102d8"}],"state":"open","locked":false,"assignee":{"login":"SilverFire","id":4499203,"avatar_url":"https://avatars.githubusercontent.com/u/4499203?v=3","gravatar_id":"","url":"https://api.github.com/users/SilverFire","html_url":"https://github.com/SilverFire","followers_url":"https://api.github.com/users/SilverFire/followers","following_url":"https://api.github.com/users/SilverFire/following{/other_user}","gists_url":"https://api.github.com/users/SilverFire/gists{/gist_id}","starred_url":"https://api.github.com/users/SilverFire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SilverFire/subscriptions","organizations_url":"https://api.github.com/users/SilverFire/orgs","repos_url":"https://api.github.com/users/SilverFire/repos","events_url":"https://api.github.com/users/SilverFire/events{/privacy}","received_events_url":"https://api.github.com/users/SilverFire/received_events","type":"User","site_admin":false},"milestone":null,"comments":11,"created_at":"2015-09-11T15:13:42Z","updated_at":"2015-12-23T21:32:54Z","closed_at":null,"body":"When I use the included IE debugger and view the response headers, the header is there and the url is correct, but IE11 isn't reading it.\r\n\r\nThe response error:\r\n![pjax-response-error](https://cloud.githubusercontent.com/assets/7306696/9818278/b982718e-5875-11e5-8180-c00d9888e3f1.jpg)\r\n\r\nThe response headers:\r\n![pjax-response-headers](https://cloud.githubusercontent.com/assets/7306696/9818283/c46e34f2-5875-11e5-8b4b-83992c9b264f.jpg)\r\n\r\nOne comment on StackOverflow suggested using the status code `200`, and after testing, this does appear to work.  I know the default redirect status code is 302, but this just doesn't work.\r\n\r\n## Update\r\n\r\nI just respond with redirect to ajax request. Page redirects in all browsers except IE. I'm testting in IE11. I'm getting the following error in console: XMLHttpRequest: Network Error 0x2f76, Could not complete the operation due to error 00002f76..\r\n\r\nURL for redirect sent in X-Redirect header. yii.js script handles this header, see line 265. var url = xhr.getResponseHeader('X-Redirect');. In case of IE11 getResponseHeader() returns null instead of URL. As I mentioned before I just respond with 200 status at the moment instead of 302."},"comment":{"url":"https://api.github.com/repos/yiisoft/yii2/issues/comments/166993265","html_url":"https://github.com/yiisoft/yii2/issues/9670#issuecomment-166993265","issue_url":"https://api.github.com/repos/yiisoft/yii2/issues/9670","id":166993265,"user":{"login":"samdark","id":47294,"avatar_url":"https://avatars.githubusercontent.com/u/47294?v=3","gravatar_id":"","url":"https://api.github.com/users/samdark","html_url":"https://github.com/samdark","followers_url":"https://api.github.com/users/samdark/followers","following_url":"https://api.github.com/users/samdark/following{/other_user}","gists_url":"https://api.github.com/users/samdark/gists{/gist_id}","starred_url":"https://api.github.com/users/samdark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samdark/subscriptions","organizations_url":"https://api.github.com/users/samdark/orgs","repos_url":"https://api.github.com/users/samdark/repos","events_url":"https://api.github.com/users/samdark/events{/privacy}","received_events_url":"https://api.github.com/users/samdark/received_events","type":"User","site_admin":false},"created_at":"2015-12-23T21:32:54Z","updated_at":"2015-12-23T21:32:54Z","body":"Well, yes but I see no other choice right now."}}