{"action":"created","issue":{"url":"https://api.github.com/repos/symfony/symfony/issues/14822","labels_url":"https://api.github.com/repos/symfony/symfony/issues/14822/labels{/name}","comments_url":"https://api.github.com/repos/symfony/symfony/issues/14822/comments","events_url":"https://api.github.com/repos/symfony/symfony/issues/14822/events","html_url":"https://github.com/symfony/symfony/issues/14822","id":83662071,"number":14822,"title":"[Security][bug] Remember-me cookie with custom `secure`/`httponly` options is not cleared on logout","user":{"login":"MacDada","id":136261,"avatar_url":"https://avatars.githubusercontent.com/u/136261?v=3","gravatar_id":"","url":"https://api.github.com/users/MacDada","html_url":"https://github.com/MacDada","followers_url":"https://api.github.com/users/MacDada/followers","following_url":"https://api.github.com/users/MacDada/following{/other_user}","gists_url":"https://api.github.com/users/MacDada/gists{/gist_id}","starred_url":"https://api.github.com/users/MacDada/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MacDada/subscriptions","organizations_url":"https://api.github.com/users/MacDada/orgs","repos_url":"https://api.github.com/users/MacDada/repos","events_url":"https://api.github.com/users/MacDada/events{/privacy}","received_events_url":"https://api.github.com/users/MacDada/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/symfony/symfony/labels/Bug","name":"Bug","color":"e10c02"},{"url":"https://api.github.com/repos/symfony/symfony/labels/Security","name":"Security","color":"DDDDDD"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-01T19:45:04Z","updated_at":"2015-06-03T00:30:06Z","closed_at":null,"body":"`AbstractRememberMeServices` does not pass `secure`/`httponly` options when it clears the cookie on logout: https://github.com/symfony/symfony/blob/2.3/src/Symfony/Component/Security/Http/RememberMe/AbstractRememberMeServices.php#L296\r\n\r\nBoth existing implementations use these options:\r\n\r\n* https://github.com/symfony/symfony/blob/2.3/src/Symfony/Component/Security/Http/RememberMe/TokenBasedRememberMeServices.php#L102\r\n* https://github.com/symfony/symfony/blob/2.3/src/Symfony/Component/Security/Http/RememberMe/PersistentTokenBasedRememberMeServices.php#L105"},"comment":{"url":"https://api.github.com/repos/symfony/symfony/issues/comments/108140198","html_url":"https://github.com/symfony/symfony/issues/14822#issuecomment-108140198","issue_url":"https://api.github.com/repos/symfony/symfony/issues/14822","id":108140198,"user":{"login":"MacDada","id":136261,"avatar_url":"https://avatars.githubusercontent.com/u/136261?v=3","gravatar_id":"","url":"https://api.github.com/users/MacDada","html_url":"https://github.com/MacDada","followers_url":"https://api.github.com/users/MacDada/followers","following_url":"https://api.github.com/users/MacDada/following{/other_user}","gists_url":"https://api.github.com/users/MacDada/gists{/gist_id}","starred_url":"https://api.github.com/users/MacDada/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MacDada/subscriptions","organizations_url":"https://api.github.com/users/MacDada/orgs","repos_url":"https://api.github.com/users/MacDada/repos","events_url":"https://api.github.com/users/MacDada/events{/privacy}","received_events_url":"https://api.github.com/users/MacDada/received_events","type":"User","site_admin":false},"created_at":"2015-06-03T00:30:06Z","updated_at":"2015-06-03T00:30:06Z","body":"I made 2 PRs with proposed fixes. I'd prefer [1] #14842 as it's just a plain–simple fix, but [2] #14843 could be seen as being less BC."}}