{"action":"created","issue":{"url":"https://api.github.com/repos/yiisoft/yii2/issues/13063","repository_url":"https://api.github.com/repos/yiisoft/yii2","labels_url":"https://api.github.com/repos/yiisoft/yii2/issues/13063/labels{/name}","comments_url":"https://api.github.com/repos/yiisoft/yii2/issues/13063/comments","events_url":"https://api.github.com/repos/yiisoft/yii2/issues/13063/events","html_url":"https://github.com/yiisoft/yii2/pull/13063","id":191269874,"number":13063,"title":"Fix for #13050 `HostControl` filter","user":{"login":"klimov-paul","id":1482054,"avatar_url":"https://avatars.githubusercontent.com/u/1482054?v=3","gravatar_id":"","url":"https://api.github.com/users/klimov-paul","html_url":"https://github.com/klimov-paul","followers_url":"https://api.github.com/users/klimov-paul/followers","following_url":"https://api.github.com/users/klimov-paul/following{/other_user}","gists_url":"https://api.github.com/users/klimov-paul/gists{/gist_id}","starred_url":"https://api.github.com/users/klimov-paul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/klimov-paul/subscriptions","organizations_url":"https://api.github.com/users/klimov-paul/orgs","repos_url":"https://api.github.com/users/klimov-paul/repos","events_url":"https://api.github.com/users/klimov-paul/events{/privacy}","received_events_url":"https://api.github.com/users/klimov-paul/received_events","type":"User","site_admin":false},"labels":[{"id":55267601,"url":"https://api.github.com/repos/yiisoft/yii2/labels/severty:security","name":"severty:security","color":"5319e7","default":false},{"id":33332028,"url":"https://api.github.com/repos/yiisoft/yii2/labels/type:enhancement","name":"type:enhancement","color":"d7e102","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/yiisoft/yii2/milestones/20","html_url":"https://github.com/yiisoft/yii2/milestones/2.0.11","labels_url":"https://api.github.com/repos/yiisoft/yii2/milestones/20/labels","id":1736699,"number":20,"title":"2.0.11","description":"","creator":{"login":"cebe","id":189796,"avatar_url":"https://avatars.githubusercontent.com/u/189796?v=3","gravatar_id":"","url":"https://api.github.com/users/cebe","html_url":"https://github.com/cebe","followers_url":"https://api.github.com/users/cebe/followers","following_url":"https://api.github.com/users/cebe/following{/other_user}","gists_url":"https://api.github.com/users/cebe/gists{/gist_id}","starred_url":"https://api.github.com/users/cebe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cebe/subscriptions","organizations_url":"https://api.github.com/users/cebe/orgs","repos_url":"https://api.github.com/users/cebe/repos","events_url":"https://api.github.com/users/cebe/events{/privacy}","received_events_url":"https://api.github.com/users/cebe/received_events","type":"User","site_admin":false},"open_issues":123,"closed_issues":87,"state":"open","created_at":"2016-04-28T15:04:50Z","updated_at":"2016-11-28T11:12:47Z","due_on":"2016-12-18T00:00:00Z","closed_at":null},"comments":3,"created_at":"2016-11-23T13:26:23Z","updated_at":"2016-11-28T11:17:58Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/yiisoft/yii2/pulls/13063","html_url":"https://github.com/yiisoft/yii2/pull/13063","diff_url":"https://github.com/yiisoft/yii2/pull/13063.diff","patch_url":"https://github.com/yiisoft/yii2/pull/13063.patch"},"body":"| Q             | A\r\n| ------------- | ---\r\n| Is bugfix?    | no\r\n| New feature?  | yes\r\n| Breaks BC?    | no\r\n| Tests pass?   | yes\r\n| Fixed issues  | #13050\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/yiisoft/yii2/issues/comments/263246244","html_url":"https://github.com/yiisoft/yii2/pull/13063#issuecomment-263246244","issue_url":"https://api.github.com/repos/yiisoft/yii2/issues/13063","id":263246244,"user":{"login":"cebe","id":189796,"avatar_url":"https://avatars.githubusercontent.com/u/189796?v=3","gravatar_id":"","url":"https://api.github.com/users/cebe","html_url":"https://github.com/cebe","followers_url":"https://api.github.com/users/cebe/followers","following_url":"https://api.github.com/users/cebe/following{/other_user}","gists_url":"https://api.github.com/users/cebe/gists{/gist_id}","starred_url":"https://api.github.com/users/cebe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cebe/subscriptions","organizations_url":"https://api.github.com/users/cebe/orgs","repos_url":"https://api.github.com/users/cebe/repos","events_url":"https://api.github.com/users/cebe/events{/privacy}","received_events_url":"https://api.github.com/users/cebe/received_events","type":"User","site_admin":false},"created_at":"2016-11-28T11:17:58Z","updated_at":"2016-11-28T11:17:58Z","body":"The Guide and Request PHPdoc should link to this behavior and explain the usage in short.\r\n\r\n- https://github.com/yiisoft/yii2/blob/b5b62e7a0f24a25716d86ff4af577b586c90c566/framework/web/Request.php#L542-L546\r\n- https://github.com/yiisoft/yii2/blob/b5b62e7a0f24a25716d86ff4af577b586c90c566/docs/guide/security-best-practices.md#avoiding-host-header-attacks\r\n\r\nalso emphasize that server config solution is to be preferred over php solution."}}
{"actor":{"display_login":"cebe"}}