{"action":"created","issue":{"url":"https://api.github.com/repos/EllisLab/Cookie-Consent/issues/2","labels_url":"https://api.github.com/repos/EllisLab/Cookie-Consent/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/EllisLab/Cookie-Consent/issues/2/comments","events_url":"https://api.github.com/repos/EllisLab/Cookie-Consent/issues/2/events","html_url":"https://github.com/EllisLab/Cookie-Consent/issues/2","id":32379120,"number":2,"title":"Expression Engine 2.8.1 this form has been expired","user":{"login":"diogomiguel","id":523146,"avatar_url":"https://avatars.githubusercontent.com/u/523146?v=3","gravatar_id":"","url":"https://api.github.com/users/diogomiguel","html_url":"https://github.com/diogomiguel","followers_url":"https://api.github.com/users/diogomiguel/followers","following_url":"https://api.github.com/users/diogomiguel/following{/other_user}","gists_url":"https://api.github.com/users/diogomiguel/gists{/gist_id}","starred_url":"https://api.github.com/users/diogomiguel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diogomiguel/subscriptions","organizations_url":"https://api.github.com/users/diogomiguel/orgs","repos_url":"https://api.github.com/users/diogomiguel/repos","events_url":"https://api.github.com/users/diogomiguel/events{/privacy}","received_events_url":"https://api.github.com/users/diogomiguel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"robinsowell","id":1181219,"avatar_url":"https://avatars.githubusercontent.com/u/1181219?v=3","gravatar_id":"","url":"https://api.github.com/users/robinsowell","html_url":"https://github.com/robinsowell","followers_url":"https://api.github.com/users/robinsowell/followers","following_url":"https://api.github.com/users/robinsowell/following{/other_user}","gists_url":"https://api.github.com/users/robinsowell/gists{/gist_id}","starred_url":"https://api.github.com/users/robinsowell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robinsowell/subscriptions","organizations_url":"https://api.github.com/users/robinsowell/orgs","repos_url":"https://api.github.com/users/robinsowell/repos","events_url":"https://api.github.com/users/robinsowell/events{/privacy}","received_events_url":"https://api.github.com/users/robinsowell/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2014-04-28T17:16:16Z","updated_at":"2015-05-20T22:48:45Z","closed_at":null,"body":"*Cookie consent* tries to clear *csrf token* preventing forms from being submitted on newer versions of *Expression Engine* (tested with 2.8).\r\nPossible workaround solution, is to add an if statement to prevent *csrf token* from being cleared. If extension->end_script is called on the same function, the problem will occur during the first submission too.\r\n\r\nTemporary suggested solution:\r\n\r\nadd to ext.cookie_consent.php (Line 111):\r\n```\r\nif ($name == $data['prefix'] . 'csrf_token') {\r\n    continue;\r\n}\r\n```\r\n\r\ncomment out on same file (Line 98)\r\n```\r\n//$this->EE->extensions->end_script = TRUE;\r\n```\r\n "},"comment":{"url":"https://api.github.com/repos/EllisLab/Cookie-Consent/issues/comments/104065306","html_url":"https://github.com/EllisLab/Cookie-Consent/issues/2#issuecomment-104065306","issue_url":"https://api.github.com/repos/EllisLab/Cookie-Consent/issues/2","id":104065306,"user":{"login":"joelkesler","id":303329,"avatar_url":"https://avatars.githubusercontent.com/u/303329?v=3","gravatar_id":"","url":"https://api.github.com/users/joelkesler","html_url":"https://github.com/joelkesler","followers_url":"https://api.github.com/users/joelkesler/followers","following_url":"https://api.github.com/users/joelkesler/following{/other_user}","gists_url":"https://api.github.com/users/joelkesler/gists{/gist_id}","starred_url":"https://api.github.com/users/joelkesler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joelkesler/subscriptions","organizations_url":"https://api.github.com/users/joelkesler/orgs","repos_url":"https://api.github.com/users/joelkesler/repos","events_url":"https://api.github.com/users/joelkesler/events{/privacy}","received_events_url":"https://api.github.com/users/joelkesler/received_events","type":"User","site_admin":false},"created_at":"2015-05-20T22:48:45Z","updated_at":"2015-05-20T22:48:45Z","body":"Any news on an update to this from EllisLab?"}}