{"action":"created","comment":{"url":"https://api.github.com/repos/collective/Products.EasyNewsletter/pulls/comments/43730535","id":43730535,"diff_hunk":"@@ -248,6 +251,7 @@ def send_unsubscribe_email(self, subscriber):\n     def unsubscribe(self):\n         \"\"\"\n         \"\"\"\n+        alsoProvides(self.request, IDisableCSRFProtection)\n         putils = getToolByName(self.context, \"plone_utils\")\n         catalog = getToolByName(self.context, \"reference_catalog\")\n         uid = self.request.get(\"subscriber\")","path":"Products/EasyNewsletter/browser/registration.py","position":35,"original_position":35,"commit_id":"f3e422b50a29d8b78dc92492c56416b5bbb6966c","original_commit_id":"f3e422b50a29d8b78dc92492c56416b5bbb6966c","user":{"login":"agitator","id":365761,"avatar_url":"https://avatars.githubusercontent.com/u/365761?v=3","gravatar_id":"","url":"https://api.github.com/users/agitator","html_url":"https://github.com/agitator","followers_url":"https://api.github.com/users/agitator/followers","following_url":"https://api.github.com/users/agitator/following{/other_user}","gists_url":"https://api.github.com/users/agitator/gists{/gist_id}","starred_url":"https://api.github.com/users/agitator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agitator/subscriptions","organizations_url":"https://api.github.com/users/agitator/orgs","repos_url":"https://api.github.com/users/agitator/repos","events_url":"https://api.github.com/users/agitator/events{/privacy}","received_events_url":"https://api.github.com/users/agitator/received_events","type":"User","site_admin":false},"body":"UID is in the unsubscribe link of newsletter issue","created_at":"2015-11-03T09:57:16Z","updated_at":"2015-11-03T09:57:16Z","html_url":"https://github.com/collective/Products.EasyNewsletter/pull/76#discussion_r43730535","pull_request_url":"https://api.github.com/repos/collective/Products.EasyNewsletter/pulls/76","_links":{"self":{"href":"https://api.github.com/repos/collective/Products.EasyNewsletter/pulls/comments/43730535"},"html":{"href":"https://github.com/collective/Products.EasyNewsletter/pull/76#discussion_r43730535"},"pull_request":{"href":"https://api.github.com/repos/collective/Products.EasyNewsletter/pulls/76"}}},"pull_request":{"url":"https://api.github.com/repos/collective/Products.EasyNewsletter/pulls/76","id":49461261,"html_url":"https://github.com/collective/Products.EasyNewsletter/pull/76","diff_url":"https://github.com/collective/Products.EasyNewsletter/pull/76.diff","patch_url":"https://github.com/collective/Products.EasyNewsletter/pull/76.patch","issue_url":"https://api.github.com/repos/collective/Products.EasyNewsletter/issues/76","number":76,"state":"open","locked":false,"title":"Unsubscribe page works now with plone.protect enabled","user":{"login":"agitator","id":365761,"avatar_url":"https://avatars.githubusercontent.com/u/365761?v=3","gravatar_id":"","url":"https://api.github.com/users/agitator","html_url":"https://github.com/agitator","followers_url":"https://api.github.com/users/agitator/followers","following_url":"https://api.github.com/users/agitator/following{/other_user}","gists_url":"https://api.github.com/users/agitator/gists{/gist_id}","starred_url":"https://api.github.com/users/agitator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agitator/subscriptions","organizations_url":"https://api.github.com/users/agitator/orgs","repos_url":"https://api.github.com/users/agitator/repos","events_url":"https://api.github.com/users/agitator/events{/privacy}","received_events_url":"https://api.github.com/users/agitator/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-11-02T17:34:50Z","updated_at":"2015-11-03T09:57:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d41dd185abda5932144798601845d0f7434d70c2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/collective/Products.EasyNewsletter/pulls/76/commits","review_comments_url":"https://api.github.com/repos/collective/Products.EasyNewsletter/pulls/76/comments","review_comment_url":"https://api.github.com/repos/collective/Products.EasyNewsletter/pulls/comments{/number}","comments_url":"https://api.github.com/repos/collective/Products.EasyNewsletter/issues/76/comments","statuses_url":"https://api.github.com/repos/collective/Products.EasyNewsletter/statuses/f3e422b50a29d8b78dc92492c56416b5bbb6966c","head":{"label":"collective:csrffixes","ref":"csrffixes","sha":"f3e422b50a29d8b78dc92492c56416b5bbb6966c","user":{"login":"collective","id":362867,"avatar_url":"https://avatars.githubusercontent.com/u/362867?v=3","gravatar_id":"","url":"https://api.github.com/users/collective","html_url":"https://github.com/collective","followers_url":"https://api.github.com/users/collective/followers","following_url":"https://api.github.com/users/collective/following{/other_user}","gists_url":"https://api.github.com/users/collective/gists{/gist_id}","starred_url":"https://api.github.com/users/collective/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/collective/subscriptions","organizations_url":"https://api.github.com/users/collective/orgs","repos_url":"https://api.github.com/users/collective/repos","events_url":"https://api.github.com/users/collective/events{/privacy}","received_events_url":"https://api.github.com/users/collective/received_events","type":"Organization","site_admin":false},"repo":{"id":2996893,"name":"Products.EasyNewsletter","full_name":"collective/Products.EasyNewsletter","owner":{"login":"collective","id":362867,"avatar_url":"https://avatars.githubusercontent.com/u/362867?v=3","gravatar_id":"","url":"https://api.github.com/users/collective","html_url":"https://github.com/collective","followers_url":"https://api.github.com/users/collective/followers","following_url":"https://api.github.com/users/collective/following{/other_user}","gists_url":"https://api.github.com/users/collective/gists{/gist_id}","starred_url":"https://api.github.com/users/collective/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/collective/subscriptions","organizations_url":"https://api.github.com/users/collective/orgs","repos_url":"https://api.github.com/users/collective/repos","events_url":"https://api.github.com/users/collective/events{/privacy}","received_events_url":"https://api.github.com/users/collective/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/collective/Products.EasyNewsletter","description":"Powerful newsletter/mailing product for Plone.","fork":false,"url":"https://api.github.com/repos/collective/Products.EasyNewsletter","forks_url":"https://api.github.com/repos/collective/Products.EasyNewsletter/forks","keys_url":"https://api.github.com/repos/collective/Products.EasyNewsletter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/collective/Products.EasyNewsletter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/collective/Products.EasyNewsletter/teams","hooks_url":"https://api.github.com/repos/collective/Products.EasyNewsletter/hooks","issue_events_url":"https://api.github.com/repos/collective/Products.EasyNewsletter/issues/events{/number}","events_url":"https://api.github.com/repos/collective/Products.EasyNewsletter/events","assignees_url":"https://api.github.com/repos/collective/Products.EasyNewsletter/assignees{/user}","branches_url":"https://api.github.com/repos/collective/Products.EasyNewsletter/branches{/branch}","tags_url":"https://api.github.com/repos/collective/Products.EasyNewsletter/tags","blobs_url":"https://api.github.com/repos/collective/Products.EasyNewsletter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/collective/Products.EasyNewsletter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/collective/Products.EasyNewsletter/git/refs{/sha}","trees_url":"https://api.github.com/repos/collective/Products.EasyNewsletter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/collective/Products.EasyNewsletter/statuses/{sha}","languages_url":"https://api.github.com/repos/collective/Products.EasyNewsletter/languages","stargazers_url":"https://api.github.com/repos/collective/Products.EasyNewsletter/stargazers","contributors_url":"https://api.github.com/repos/collective/Products.EasyNewsletter/contributors","subscribers_url":"https://api.github.com/repos/collective/Products.EasyNewsletter/subscribers","subscription_url":"https://api.github.com/repos/collective/Products.EasyNewsletter/subscription","commits_url":"https://api.github.com/repos/collective/Products.EasyNewsletter/commits{/sha}","git_commits_url":"https://api.github.com/repos/collective/Products.EasyNewsletter/git/commits{/sha}","comments_url":"https://api.github.com/repos/collective/Products.EasyNewsletter/comments{/number}","issue_comment_url":"https://api.github.com/repos/collective/Products.EasyNewsletter/issues/comments{/number}","contents_url":"https://api.github.com/repos/collective/Products.EasyNewsletter/contents/{+path}","compare_url":"https://api.github.com/repos/collective/Products.EasyNewsletter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/collective/Products.EasyNewsletter/merges","archive_url":"https://api.github.com/repos/collective/Products.EasyNewsletter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/collective/Products.EasyNewsletter/downloads","issues_url":"https://api.github.com/repos/collective/Products.EasyNewsletter/issues{/number}","pulls_url":"https://api.github.com/repos/collective/Products.EasyNewsletter/pulls{/number}","milestones_url":"https://api.github.com/repos/collective/Products.EasyNewsletter/milestones{/number}","notifications_url":"https://api.github.com/repos/collective/Products.EasyNewsletter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/collective/Products.EasyNewsletter/labels{/name}","releases_url":"https://api.github.com/repos/collective/Products.EasyNewsletter/releases{/id}","created_at":"2011-12-16T18:50:10Z","updated_at":"2015-05-08T14:24:40Z","pushed_at":"2015-11-02T18:13:52Z","git_url":"git://github.com/collective/Products.EasyNewsletter.git","ssh_url":"git@github.com:collective/Products.EasyNewsletter.git","clone_url":"https://github.com/collective/Products.EasyNewsletter.git","svn_url":"https://github.com/collective/Products.EasyNewsletter","homepage":"https://pythonhosted.org/Products.EasyNewsletter/","size":2661,"stargazers_count":16,"watchers_count":16,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":20,"mirror_url":null,"open_issues_count":16,"forks":20,"open_issues":16,"watchers":16,"default_branch":"master"}},"base":{"label":"collective:master","ref":"master","sha":"101b97e3897a8acc225605e534546cb080e57902","user":{"login":"collective","id":362867,"avatar_url":"https://avatars.githubusercontent.com/u/362867?v=3","gravatar_id":"","url":"https://api.github.com/users/collective","html_url":"https://github.com/collective","followers_url":"https://api.github.com/users/collective/followers","following_url":"https://api.github.com/users/collective/following{/other_user}","gists_url":"https://api.github.com/users/collective/gists{/gist_id}","starred_url":"https://api.github.com/users/collective/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/collective/subscriptions","organizations_url":"https://api.github.com/users/collective/orgs","repos_url":"https://api.github.com/users/collective/repos","events_url":"https://api.github.com/users/collective/events{/privacy}","received_events_url":"https://api.github.com/users/collective/received_events","type":"Organization","site_admin":false},"repo":{"id":2996893,"name":"Products.EasyNewsletter","full_name":"collective/Products.EasyNewsletter","owner":{"login":"collective","id":362867,"avatar_url":"https://avatars.githubusercontent.com/u/362867?v=3","gravatar_id":"","url":"https://api.github.com/users/collective","html_url":"https://github.com/collective","followers_url":"https://api.github.com/users/collective/followers","following_url":"https://api.github.com/users/collective/following{/other_user}","gists_url":"https://api.github.com/users/collective/gists{/gist_id}","starred_url":"https://api.github.com/users/collective/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/collective/subscriptions","organizations_url":"https://api.github.com/users/collective/orgs","repos_url":"https://api.github.com/users/collective/repos","events_url":"https://api.github.com/users/collective/events{/privacy}","received_events_url":"https://api.github.com/users/collective/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/collective/Products.EasyNewsletter","description":"Powerful newsletter/mailing product for Plone.","fork":false,"url":"https://api.github.com/repos/collective/Products.EasyNewsletter","forks_url":"https://api.github.com/repos/collective/Products.EasyNewsletter/forks","keys_url":"https://api.github.com/repos/collective/Products.EasyNewsletter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/collective/Products.EasyNewsletter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/collective/Products.EasyNewsletter/teams","hooks_url":"https://api.github.com/repos/collective/Products.EasyNewsletter/hooks","issue_events_url":"https://api.github.com/repos/collective/Products.EasyNewsletter/issues/events{/number}","events_url":"https://api.github.com/repos/collective/Products.EasyNewsletter/events","assignees_url":"https://api.github.com/repos/collective/Products.EasyNewsletter/assignees{/user}","branches_url":"https://api.github.com/repos/collective/Products.EasyNewsletter/branches{/branch}","tags_url":"https://api.github.com/repos/collective/Products.EasyNewsletter/tags","blobs_url":"https://api.github.com/repos/collective/Products.EasyNewsletter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/collective/Products.EasyNewsletter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/collective/Products.EasyNewsletter/git/refs{/sha}","trees_url":"https://api.github.com/repos/collective/Products.EasyNewsletter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/collective/Products.EasyNewsletter/statuses/{sha}","languages_url":"https://api.github.com/repos/collective/Products.EasyNewsletter/languages","stargazers_url":"https://api.github.com/repos/collective/Products.EasyNewsletter/stargazers","contributors_url":"https://api.github.com/repos/collective/Products.EasyNewsletter/contributors","subscribers_url":"https://api.github.com/repos/collective/Products.EasyNewsletter/subscribers","subscription_url":"https://api.github.com/repos/collective/Products.EasyNewsletter/subscription","commits_url":"https://api.github.com/repos/collective/Products.EasyNewsletter/commits{/sha}","git_commits_url":"https://api.github.com/repos/collective/Products.EasyNewsletter/git/commits{/sha}","comments_url":"https://api.github.com/repos/collective/Products.EasyNewsletter/comments{/number}","issue_comment_url":"https://api.github.com/repos/collective/Products.EasyNewsletter/issues/comments{/number}","contents_url":"https://api.github.com/repos/collective/Products.EasyNewsletter/contents/{+path}","compare_url":"https://api.github.com/repos/collective/Products.EasyNewsletter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/collective/Products.EasyNewsletter/merges","archive_url":"https://api.github.com/repos/collective/Products.EasyNewsletter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/collective/Products.EasyNewsletter/downloads","issues_url":"https://api.github.com/repos/collective/Products.EasyNewsletter/issues{/number}","pulls_url":"https://api.github.com/repos/collective/Products.EasyNewsletter/pulls{/number}","milestones_url":"https://api.github.com/repos/collective/Products.EasyNewsletter/milestones{/number}","notifications_url":"https://api.github.com/repos/collective/Products.EasyNewsletter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/collective/Products.EasyNewsletter/labels{/name}","releases_url":"https://api.github.com/repos/collective/Products.EasyNewsletter/releases{/id}","created_at":"2011-12-16T18:50:10Z","updated_at":"2015-05-08T14:24:40Z","pushed_at":"2015-11-02T18:13:52Z","git_url":"git://github.com/collective/Products.EasyNewsletter.git","ssh_url":"git@github.com:collective/Products.EasyNewsletter.git","clone_url":"https://github.com/collective/Products.EasyNewsletter.git","svn_url":"https://github.com/collective/Products.EasyNewsletter","homepage":"https://pythonhosted.org/Products.EasyNewsletter/","size":2661,"stargazers_count":16,"watchers_count":16,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":20,"mirror_url":null,"open_issues_count":16,"forks":20,"open_issues":16,"watchers":16,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/collective/Products.EasyNewsletter/pulls/76"},"html":{"href":"https://github.com/collective/Products.EasyNewsletter/pull/76"},"issue":{"href":"https://api.github.com/repos/collective/Products.EasyNewsletter/issues/76"},"comments":{"href":"https://api.github.com/repos/collective/Products.EasyNewsletter/issues/76/comments"},"review_comments":{"href":"https://api.github.com/repos/collective/Products.EasyNewsletter/pulls/76/comments"},"review_comment":{"href":"https://api.github.com/repos/collective/Products.EasyNewsletter/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/collective/Products.EasyNewsletter/pulls/76/commits"},"statuses":{"href":"https://api.github.com/repos/collective/Products.EasyNewsletter/statuses/f3e422b50a29d8b78dc92492c56416b5bbb6966c"}}}}