{"action":"created","issue":{"url":"https://api.github.com/repos/terminal42/header-replay-bundle/issues/2","repository_url":"https://api.github.com/repos/terminal42/header-replay-bundle","labels_url":"https://api.github.com/repos/terminal42/header-replay-bundle/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/terminal42/header-replay-bundle/issues/2/comments","events_url":"https://api.github.com/repos/terminal42/header-replay-bundle/issues/2/events","html_url":"https://github.com/terminal42/header-replay-bundle/issues/2","id":244007413,"number":2,"title":"new version breaks Contao\\Controller::redirect","user":{"login":"fritzmg","id":4970961,"avatar_url":"https://avatars0.githubusercontent.com/u/4970961?v=4","gravatar_id":"","url":"https://api.github.com/users/fritzmg","html_url":"https://github.com/fritzmg","followers_url":"https://api.github.com/users/fritzmg/followers","following_url":"https://api.github.com/users/fritzmg/following{/other_user}","gists_url":"https://api.github.com/users/fritzmg/gists{/gist_id}","starred_url":"https://api.github.com/users/fritzmg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fritzmg/subscriptions","organizations_url":"https://api.github.com/users/fritzmg/orgs","repos_url":"https://api.github.com/users/fritzmg/repos","events_url":"https://api.github.com/users/fritzmg/events{/privacy}","received_events_url":"https://api.github.com/users/fritzmg/received_events","type":"User","site_admin":false},"labels":[{"id":554535471,"url":"https://api.github.com/repos/terminal42/header-replay-bundle/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"closed","locked":false,"assignee":{"login":"Toflar","id":481937,"avatar_url":"https://avatars2.githubusercontent.com/u/481937?v=4","gravatar_id":"","url":"https://api.github.com/users/Toflar","html_url":"https://github.com/Toflar","followers_url":"https://api.github.com/users/Toflar/followers","following_url":"https://api.github.com/users/Toflar/following{/other_user}","gists_url":"https://api.github.com/users/Toflar/gists{/gist_id}","starred_url":"https://api.github.com/users/Toflar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Toflar/subscriptions","organizations_url":"https://api.github.com/users/Toflar/orgs","repos_url":"https://api.github.com/users/Toflar/repos","events_url":"https://api.github.com/users/Toflar/events{/privacy}","received_events_url":"https://api.github.com/users/Toflar/received_events","type":"User","site_admin":false},"assignees":[{"login":"Toflar","id":481937,"avatar_url":"https://avatars2.githubusercontent.com/u/481937?v=4","gravatar_id":"","url":"https://api.github.com/users/Toflar","html_url":"https://github.com/Toflar","followers_url":"https://api.github.com/users/Toflar/followers","following_url":"https://api.github.com/users/Toflar/following{/other_user}","gists_url":"https://api.github.com/users/Toflar/gists{/gist_id}","starred_url":"https://api.github.com/users/Toflar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Toflar/subscriptions","organizations_url":"https://api.github.com/users/Toflar/orgs","repos_url":"https://api.github.com/users/Toflar/repos","events_url":"https://api.github.com/users/Toflar/events{/privacy}","received_events_url":"https://api.github.com/users/Toflar/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/terminal42/header-replay-bundle/milestones/1","html_url":"https://github.com/terminal42/header-replay-bundle/milestone/1","labels_url":"https://api.github.com/repos/terminal42/header-replay-bundle/milestones/1/labels","id":2650017,"number":1,"title":"1.1.1","description":null,"creator":{"login":"Toflar","id":481937,"avatar_url":"https://avatars2.githubusercontent.com/u/481937?v=4","gravatar_id":"","url":"https://api.github.com/users/Toflar","html_url":"https://github.com/Toflar","followers_url":"https://api.github.com/users/Toflar/followers","following_url":"https://api.github.com/users/Toflar/following{/other_user}","gists_url":"https://api.github.com/users/Toflar/gists{/gist_id}","starred_url":"https://api.github.com/users/Toflar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Toflar/subscriptions","organizations_url":"https://api.github.com/users/Toflar/orgs","repos_url":"https://api.github.com/users/Toflar/repos","events_url":"https://api.github.com/users/Toflar/events{/privacy}","received_events_url":"https://api.github.com/users/Toflar/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":1,"state":"open","created_at":"2017-07-19T13:48:43Z","updated_at":"2017-07-19T13:49:26Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2017-07-19T11:22:34Z","updated_at":"2017-07-19T13:49:26Z","closed_at":"2017-07-19T13:49:26Z","body":"As mentioned in https://github.com/contao/core-bundle/issues/974, version `1.1.0` of `header-replay-bundle` of `Contao\\Controller::redirect` when used outside of regular pages. For example if you have an `initializeSystem` hook which might call `Contao\\Controller::redirect` the redirect does not work anymore when `terminal42/header-replay-bundle` is installed in version `1.1.0`.\r\n\r\nIf you have `terminal42/header-replay-bundle` installed in version `1.0.0` or `1.0.1` everything still works as expected.\r\n\r\nTo reproduce, just do\r\n```php\r\n\\Controller::redirect('https://www.google.com/');\r\n```\r\nwithin an `initializeSystem` hook and then open the front end. The redirect won't happen when `header-replay-bundle` `1.1.0` is installed."},"comment":{"url":"https://api.github.com/repos/terminal42/header-replay-bundle/issues/comments/316393514","html_url":"https://github.com/terminal42/header-replay-bundle/issues/2#issuecomment-316393514","issue_url":"https://api.github.com/repos/terminal42/header-replay-bundle/issues/2","id":316393514,"user":{"login":"Toflar","id":481937,"avatar_url":"https://avatars2.githubusercontent.com/u/481937?v=4","gravatar_id":"","url":"https://api.github.com/users/Toflar","html_url":"https://github.com/Toflar","followers_url":"https://api.github.com/users/Toflar/followers","following_url":"https://api.github.com/users/Toflar/following{/other_user}","gists_url":"https://api.github.com/users/Toflar/gists{/gist_id}","starred_url":"https://api.github.com/users/Toflar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Toflar/subscriptions","organizations_url":"https://api.github.com/users/Toflar/orgs","repos_url":"https://api.github.com/users/Toflar/repos","events_url":"https://api.github.com/users/Toflar/events{/privacy}","received_events_url":"https://api.github.com/users/Toflar/received_events","type":"User","site_admin":false},"created_at":"2017-07-19T13:49:26Z","updated_at":"2017-07-19T13:49:26Z","body":"*phew* :) Released 1.1.1 then, thank you!"}}
{"actor":{"display_login":"Toflar"}}