{"action":"created","issue":{"url":"https://api.github.com/repos/rails/rails/issues/21045","repository_url":"https://api.github.com/repos/rails/rails","labels_url":"https://api.github.com/repos/rails/rails/issues/21045/labels{/name}","comments_url":"https://api.github.com/repos/rails/rails/issues/21045/comments","events_url":"https://api.github.com/repos/rails/rails/issues/21045/events","html_url":"https://github.com/rails/rails/pull/21045","id":97612173,"number":21045,"title":"Add parameter filter capability for redirect locations","user":{"login":"repinel","id":1685896,"avatar_url":"https://avatars.githubusercontent.com/u/1685896?v=3","gravatar_id":"","url":"https://api.github.com/users/repinel","html_url":"https://github.com/repinel","followers_url":"https://api.github.com/users/repinel/followers","following_url":"https://api.github.com/users/repinel/following{/other_user}","gists_url":"https://api.github.com/users/repinel/gists{/gist_id}","starred_url":"https://api.github.com/users/repinel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/repinel/subscriptions","organizations_url":"https://api.github.com/users/repinel/orgs","repos_url":"https://api.github.com/users/repinel/repos","events_url":"https://api.github.com/users/repinel/events{/privacy}","received_events_url":"https://api.github.com/users/repinel/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rails/rails/labels/actionpack","name":"actionpack","color":"FFF700"},{"url":"https://api.github.com/repos/rails/rails/labels/security","name":"security","color":"D94A4A"}],"state":"open","locked":false,"assignee":{"login":"rafaelfranca","id":47848,"avatar_url":"https://avatars.githubusercontent.com/u/47848?v=3","gravatar_id":"","url":"https://api.github.com/users/rafaelfranca","html_url":"https://github.com/rafaelfranca","followers_url":"https://api.github.com/users/rafaelfranca/followers","following_url":"https://api.github.com/users/rafaelfranca/following{/other_user}","gists_url":"https://api.github.com/users/rafaelfranca/gists{/gist_id}","starred_url":"https://api.github.com/users/rafaelfranca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafaelfranca/subscriptions","organizations_url":"https://api.github.com/users/rafaelfranca/orgs","repos_url":"https://api.github.com/users/rafaelfranca/repos","events_url":"https://api.github.com/users/rafaelfranca/events{/privacy}","received_events_url":"https://api.github.com/users/rafaelfranca/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/rails/rails/milestones/34","html_url":"https://github.com/rails/rails/milestones/5.0.0%20[temp]","labels_url":"https://api.github.com/repos/rails/rails/milestones/34/labels","id":665192,"number":34,"title":"5.0.0 [temp]","description":"","creator":{"login":"rafaelfranca","id":47848,"avatar_url":"https://avatars.githubusercontent.com/u/47848?v=3","gravatar_id":"","url":"https://api.github.com/users/rafaelfranca","html_url":"https://github.com/rafaelfranca","followers_url":"https://api.github.com/users/rafaelfranca/followers","following_url":"https://api.github.com/users/rafaelfranca/following{/other_user}","gists_url":"https://api.github.com/users/rafaelfranca/gists{/gist_id}","starred_url":"https://api.github.com/users/rafaelfranca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafaelfranca/subscriptions","organizations_url":"https://api.github.com/users/rafaelfranca/orgs","repos_url":"https://api.github.com/users/rafaelfranca/repos","events_url":"https://api.github.com/users/rafaelfranca/events{/privacy}","received_events_url":"https://api.github.com/users/rafaelfranca/received_events","type":"User","site_admin":false},"open_issues":49,"closed_issues":5,"state":"open","created_at":"2014-05-21T00:58:22Z","updated_at":"2016-01-29T05:39:01Z","due_on":null,"closed_at":null},"comments":7,"created_at":"2015-07-28T04:30:44Z","updated_at":"2016-02-04T01:23:32Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rails/rails/pulls/21045","html_url":"https://github.com/rails/rails/pull/21045","diff_url":"https://github.com/rails/rails/pull/21045.diff","patch_url":"https://github.com/rails/rails/pull/21045.patch"},"body":"This is a follow up of #14055 taking in consideration @jeremy's comments.\r\n\r\nIt uses the `config.parameter_filter` to match what needs to be filtered. The result would be like this:\r\n\r\n```\r\nRedirected to http://secret.foo.bar?username=roque&password=[FILTERED]\r\n```\r\n\r\nBy security default, if no filter is provided, it ~~filters all parameters~~ does not filter any parameter.\r\n\r\n/cc @trevorturk\r\n\r\nUPDATE: changed the default behavior."},"comment":{"url":"https://api.github.com/repos/rails/rails/issues/comments/179563095","html_url":"https://github.com/rails/rails/pull/21045#issuecomment-179563095","issue_url":"https://api.github.com/repos/rails/rails/issues/21045","id":179563095,"user":{"login":"repinel","id":1685896,"avatar_url":"https://avatars.githubusercontent.com/u/1685896?v=3","gravatar_id":"","url":"https://api.github.com/users/repinel","html_url":"https://github.com/repinel","followers_url":"https://api.github.com/users/repinel/followers","following_url":"https://api.github.com/users/repinel/following{/other_user}","gists_url":"https://api.github.com/users/repinel/gists{/gist_id}","starred_url":"https://api.github.com/users/repinel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/repinel/subscriptions","organizations_url":"https://api.github.com/users/repinel/orgs","repos_url":"https://api.github.com/users/repinel/repos","events_url":"https://api.github.com/users/repinel/events{/privacy}","received_events_url":"https://api.github.com/users/repinel/received_events","type":"User","site_admin":false},"created_at":"2016-02-04T01:23:32Z","updated_at":"2016-02-04T01:23:32Z","body":"Ping @sikachu "}}