{"action":"created","issue":{"url":"https://api.github.com/repos/symfony/symfony/issues/29459","repository_url":"https://api.github.com/repos/symfony/symfony","labels_url":"https://api.github.com/repos/symfony/symfony/issues/29459/labels{/name}","comments_url":"https://api.github.com/repos/symfony/symfony/issues/29459/comments","events_url":"https://api.github.com/repos/symfony/symfony/issues/29459/events","html_url":"https://github.com/symfony/symfony/issues/29459","id":387570183,"node_id":"MDU6SXNzdWUzODc1NzAxODM=","number":29459,"title":"Possible issue with unserialize in PHP 7.3","user":{"login":"yellow1912","id":374134,"node_id":"MDQ6VXNlcjM3NDEzNA==","avatar_url":"https://avatars1.githubusercontent.com/u/374134?v=4","gravatar_id":"","url":"https://api.github.com/users/yellow1912","html_url":"https://github.com/yellow1912","followers_url":"https://api.github.com/users/yellow1912/followers","following_url":"https://api.github.com/users/yellow1912/following{/other_user}","gists_url":"https://api.github.com/users/yellow1912/gists{/gist_id}","starred_url":"https://api.github.com/users/yellow1912/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yellow1912/subscriptions","organizations_url":"https://api.github.com/users/yellow1912/orgs","repos_url":"https://api.github.com/users/yellow1912/repos","events_url":"https://api.github.com/users/yellow1912/events{/privacy}","received_events_url":"https://api.github.com/users/yellow1912/received_events","type":"User","site_admin":false},"labels":[{"id":99600,"node_id":"MDU6TGFiZWw5OTYwMA==","url":"https://api.github.com/repos/symfony/symfony/labels/Security","name":"Security","color":"DDDDDD","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/symfony/symfony/milestones/10","html_url":"https://github.com/symfony/symfony/milestone/10","labels_url":"https://api.github.com/repos/symfony/symfony/milestones/10/labels","id":2117464,"node_id":"MDk6TWlsZXN0b25lMjExNzQ2NA==","number":10,"title":"3.4","description":"https://symfony.com/roadmap?version=3.4#checker","creator":{"login":"javiereguiluz","id":73419,"node_id":"MDQ6VXNlcjczNDE5","avatar_url":"https://avatars3.githubusercontent.com/u/73419?v=4","gravatar_id":"","url":"https://api.github.com/users/javiereguiluz","html_url":"https://github.com/javiereguiluz","followers_url":"https://api.github.com/users/javiereguiluz/followers","following_url":"https://api.github.com/users/javiereguiluz/following{/other_user}","gists_url":"https://api.github.com/users/javiereguiluz/gists{/gist_id}","starred_url":"https://api.github.com/users/javiereguiluz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javiereguiluz/subscriptions","organizations_url":"https://api.github.com/users/javiereguiluz/orgs","repos_url":"https://api.github.com/users/javiereguiluz/repos","events_url":"https://api.github.com/users/javiereguiluz/events{/privacy}","received_events_url":"https://api.github.com/users/javiereguiluz/received_events","type":"User","site_admin":false},"open_issues":21,"closed_issues":1025,"state":"open","created_at":"2016-11-06T20:24:23Z","updated_at":"2018-12-15T10:58:31Z","due_on":"2020-11-30T08:00:00Z","closed_at":null},"comments":22,"created_at":"2018-12-05T02:48:27Z","updated_at":"2018-12-15T14:17:19Z","closed_at":null,"author_association":"NONE","body":"**Symfony version(s) affected**: 3.4.19\r\n\r\n**Description**  \r\n<!-- A clear and concise description of the problem. -->\r\n\r\nUpon upgrading to PHP 7.3, we run into issue with the unserialization of the user/token object when login. \r\n\r\nThe error is like this:\r\n\r\n> Notice: unserialize(): Error at offset 5859 of 13936 byte\r\n\r\nThe exact error happens in:\r\nin vendor/symfony/symfony/src/Symfony/Component/Security/Core/Authentication/Token/AbstractToken.php (line 155)\r\n\r\n**How to reproduce**  \r\n<!-- Code and/or config needed to reproduce the problem. If it's a complex bug,\r\n     create a \"bug reproducer\" as explained in:\r\n     https://symfony.com/doc/current/contributing/code/reproducer.html -->\r\n\r\nIt seems like this is due to the serialized object contains object class inside it.\r\n\r\nNot sure what changed in PHP 7.3 RC6, at first I thought it could be the unserialize now requires allowed_classes option to be set to true explicitly, I tried that by editing Symfony code but it didn't help\r\n\r\n**Possible Solution**  \r\n<!--- Optional: only if you have suggestions on a fix/reason for the bug -->\r\n\r\nNot a clue for now\r\n\r\n**Additional context**  \r\n<!-- Optional: any other context about the problem: log messages, screenshots, etc. -->\r\n\r\nEverything was running fine on PHP 7.2 so it must be the changes in 7.3 RC6 that break things.\r\n\r\nI attached here a sample of the string to unserialize: \r\nhttps://gist.github.com/yellow1912/43e4009e0384426ccfa017feb0eedcc9"},"comment":{"url":"https://api.github.com/repos/symfony/symfony/issues/comments/447571791","html_url":"https://github.com/symfony/symfony/issues/29459#issuecomment-447571791","issue_url":"https://api.github.com/repos/symfony/symfony/issues/29459","id":447571791,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NzU3MTc5MQ==","user":{"login":"chalasr","id":7502063,"node_id":"MDQ6VXNlcjc1MDIwNjM=","avatar_url":"https://avatars0.githubusercontent.com/u/7502063?v=4","gravatar_id":"","url":"https://api.github.com/users/chalasr","html_url":"https://github.com/chalasr","followers_url":"https://api.github.com/users/chalasr/followers","following_url":"https://api.github.com/users/chalasr/following{/other_user}","gists_url":"https://api.github.com/users/chalasr/gists{/gist_id}","starred_url":"https://api.github.com/users/chalasr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chalasr/subscriptions","organizations_url":"https://api.github.com/users/chalasr/orgs","repos_url":"https://api.github.com/users/chalasr/repos","events_url":"https://api.github.com/users/chalasr/events{/privacy}","received_events_url":"https://api.github.com/users/chalasr/received_events","type":"User","site_admin":false},"created_at":"2018-12-15T14:17:19Z","updated_at":"2018-12-15T14:17:19Z","author_association":"MEMBER","body":"See #29621 for the fix"}}
{"actor":{"display_login":"chalasr"}}