{"action":"opened","pull_request":{"created_at":"2011-11-26T16:55:50Z","review_comments":0,"state":"open","patch_url":"https://github.com/symfony/symfony/pull/2727.patch","changed_files":1,"updated_at":"2011-11-26T16:55:50Z","_links":{"review_comments":{"href":"https://api.github.com/repos/symfony/symfony/pulls/2727/comments"},"comments":{"href":"https://api.github.com/repos/symfony/symfony/issues/2727/comments"},"html":{"href":"https://github.com/symfony/symfony/pull/2727"},"self":{"href":"https://api.github.com/repos/symfony/symfony/pulls/2727"}},"comments":0,"user":{"gravatar_id":"839a0b1f22c99f76a79aaedcc846b589","id":365438,"url":"https://api.github.com/users/mlehner","login":"mlehner","avatar_url":"https://secure.gravatar.com/avatar/839a0b1f22c99f76a79aaedcc846b589?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"issue_url":"https://github.com/symfony/symfony/issues/2727","deletions":0,"body":"I made this patch many months ago for a project I am working on. We have been successfully using this patch to allow us to do stateless authentication (no sessions) on a API built using Symfony2.\r\n\r\nWhen disabling sessions support inside config.yml, the Symfony/Component/Security/Http/Firewall/ContextListener does not properly check if a session is available before trying to save to the session inside onKernelResponse. Adding the check for the session resolves this problem.","merged":false,"mergeable":null,"commits":1,"id":530603,"number":2727,"base":{"user":{"gravatar_id":"bc6312a5b583c4258c9fad11122c6e31","id":143937,"url":"https://api.github.com/users/symfony","login":"symfony","avatar_url":"https://secure.gravatar.com/avatar/bc6312a5b583c4258c9fad11122c6e31?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png"},"repo":{"created_at":"2010-01-04T14:21:21Z","pushed_at":"2011-11-24T14:59:24Z","private":false,"clone_url":"https://github.com/symfony/symfony.git","updated_at":"2011-11-26T13:42:53Z","name":"symfony","watchers":3457,"master_branch":null,"svn_url":"https://svn.github.com/symfony/symfony","language":"PHP","forks":878,"owner":{"gravatar_id":"bc6312a5b583c4258c9fad11122c6e31","id":143937,"url":"https://api.github.com/users/symfony","login":"symfony","avatar_url":"https://secure.gravatar.com/avatar/bc6312a5b583c4258c9fad11122c6e31?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png"},"id":458058,"homepage":"symfony.com","description":"The Symfony2 PHP framework","git_url":"git://github.com/symfony/symfony.git","html_url":"https://github.com/symfony/symfony","size":48108,"ssh_url":"git@github.com:symfony/symfony.git","fork":false,"url":"https://api.github.com/repos/symfony/symfony","open_issues":172},"sha":"7b1dda84b93dcb635795727fd6ec20f2a21e47af","ref":"2.0","label":"symfony:2.0"},"merged_by":null,"additions":4,"title":"Stateless authentication broken","head":{"user":{"gravatar_id":"839a0b1f22c99f76a79aaedcc846b589","id":365438,"url":"https://api.github.com/users/mlehner","login":"mlehner","avatar_url":"https://secure.gravatar.com/avatar/839a0b1f22c99f76a79aaedcc846b589?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"repo":{"created_at":"2011-08-22T12:28:23Z","pushed_at":"2011-11-26T15:35:38Z","private":false,"clone_url":"https://github.com/mlehner/symfony.git","updated_at":"2011-11-26T15:35:42Z","name":"symfony","watchers":1,"master_branch":null,"svn_url":"https://svn.github.com/mlehner/symfony","language":"PHP","forks":0,"owner":{"gravatar_id":"839a0b1f22c99f76a79aaedcc846b589","id":365438,"url":"https://api.github.com/users/mlehner","login":"mlehner","avatar_url":"https://secure.gravatar.com/avatar/839a0b1f22c99f76a79aaedcc846b589?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"id":2248296,"homepage":"symfony.com","description":"The Symfony2 PHP framework","git_url":"git://github.com/mlehner/symfony.git","html_url":"https://github.com/mlehner/symfony","size":124,"ssh_url":"git@github.com:mlehner/symfony.git","fork":true,"url":"https://api.github.com/repos/mlehner/symfony","open_issues":0},"sha":"c26b0be25fe7bf20a8d00c15478b14c1014fa9a0","ref":"c26b0be25fe7bf20a8d00c15478b14c1014fa9a0","label":"mlehner:c26b0be25fe7bf20a8d00c15478b14c1014fa9a0"},"closed_at":null,"html_url":"https://github.com/symfony/symfony/pull/2727","diff_url":"https://github.com/symfony/symfony/pull/2727.diff","url":"https://api.github.com/repos/symfony/symfony/pulls/2727","merged_at":null},"number":2727}