{"action":"created","comment":{"url":"https://api.github.com/repos/Ecodev/newsletter/pulls/comments/38835075","id":38835075,"diff_hunk":"@@ -144,7 +144,9 @@ private function setTitle($htmlSrc)\n     {\n         // Extract title from HTML\n         preg_match('|<title[^>]*>(.*)</title>|i', $htmlSrc, $m);\n-        $title = trim($m[1]);\n+\n+        // As this is being extracted from HTML and it is being used as an email subject we need to decode any entities.\n+        $title = trim(html_entity_decode($m[1]));","path":"Classes/Mailer.php","position":7,"original_position":7,"commit_id":"97b2714831b3b7d0dca41296e8805b935906a3bd","original_commit_id":"97b2714831b3b7d0dca41296e8805b935906a3bd","user":{"login":"PowerKiKi","id":72603,"avatar_url":"https://avatars.githubusercontent.com/u/72603?v=3","gravatar_id":"","url":"https://api.github.com/users/PowerKiKi","html_url":"https://github.com/PowerKiKi","followers_url":"https://api.github.com/users/PowerKiKi/followers","following_url":"https://api.github.com/users/PowerKiKi/following{/other_user}","gists_url":"https://api.github.com/users/PowerKiKi/gists{/gist_id}","starred_url":"https://api.github.com/users/PowerKiKi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PowerKiKi/subscriptions","organizations_url":"https://api.github.com/users/PowerKiKi/orgs","repos_url":"https://api.github.com/users/PowerKiKi/repos","events_url":"https://api.github.com/users/PowerKiKi/events{/privacy}","received_events_url":"https://api.github.com/users/PowerKiKi/received_events","type":"User","site_admin":false},"body":"This should probably be another PR, but most importantly it should be covered with tests.","created_at":"2015-09-07T05:57:58Z","updated_at":"2015-09-07T05:57:58Z","html_url":"https://github.com/Ecodev/newsletter/pull/71#discussion_r38835075","pull_request_url":"https://api.github.com/repos/Ecodev/newsletter/pulls/71","_links":{"self":{"href":"https://api.github.com/repos/Ecodev/newsletter/pulls/comments/38835075"},"html":{"href":"https://github.com/Ecodev/newsletter/pull/71#discussion_r38835075"},"pull_request":{"href":"https://api.github.com/repos/Ecodev/newsletter/pulls/71"}}},"pull_request":{"url":"https://api.github.com/repos/Ecodev/newsletter/pulls/71","id":43505369,"html_url":"https://github.com/Ecodev/newsletter/pull/71","diff_url":"https://github.com/Ecodev/newsletter/pull/71.diff","patch_url":"https://github.com/Ecodev/newsletter/pull/71.patch","issue_url":"https://api.github.com/repos/Ecodev/newsletter/issues/71","number":71,"state":"open","locked":false,"title":"Bounce-acccount custom fetchmail configuration and encryption","user":{"login":"marvin-martian","id":13798780,"avatar_url":"https://avatars.githubusercontent.com/u/13798780?v=3","gravatar_id":"","url":"https://api.github.com/users/marvin-martian","html_url":"https://github.com/marvin-martian","followers_url":"https://api.github.com/users/marvin-martian/followers","following_url":"https://api.github.com/users/marvin-martian/following{/other_user}","gists_url":"https://api.github.com/users/marvin-martian/gists{/gist_id}","starred_url":"https://api.github.com/users/marvin-martian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marvin-martian/subscriptions","organizations_url":"https://api.github.com/users/marvin-martian/orgs","repos_url":"https://api.github.com/users/marvin-martian/repos","events_url":"https://api.github.com/users/marvin-martian/events{/privacy}","received_events_url":"https://api.github.com/users/marvin-martian/received_events","type":"User","site_admin":false},"body":"Hi,\r\n\r\nI have modified the bounce-accounts to allow for a custom fetchmail-configuration field and a port field. I have also added encryption of both bounce-account passwords and the fetchmail-configuration in db. I encrypted the fetchmail config because it would also be possible to also add passwords in it.\r\n\r\nThis pull request solves issues #68, #11 \r\n\r\nThe fetchmail-configuration supports markers:\r\n###SERVER###\r\n###PROTOCOL###\r\n###PORT###\r\n###USERNAME###\r\n###PASSWORD###\r\n\r\n\r\nOld configurations are updated on install so they will not break.\r\nMaybe I should have split this as 2 issues, but I was on a roll, sorry for that.\r\n\r\nHave a nice day.\r\n","created_at":"2015-08-27T11:16:55Z","updated_at":"2015-09-07T05:57:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"29deafb2ba6040268014488b6b32b6263c0a2105","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Ecodev/newsletter/pulls/71/commits","review_comments_url":"https://api.github.com/repos/Ecodev/newsletter/pulls/71/comments","review_comment_url":"https://api.github.com/repos/Ecodev/newsletter/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Ecodev/newsletter/issues/71/comments","statuses_url":"https://api.github.com/repos/Ecodev/newsletter/statuses/97b2714831b3b7d0dca41296e8805b935906a3bd","head":{"label":"marvin-martian:master","ref":"master","sha":"97b2714831b3b7d0dca41296e8805b935906a3bd","user":{"login":"marvin-martian","id":13798780,"avatar_url":"https://avatars.githubusercontent.com/u/13798780?v=3","gravatar_id":"","url":"https://api.github.com/users/marvin-martian","html_url":"https://github.com/marvin-martian","followers_url":"https://api.github.com/users/marvin-martian/followers","following_url":"https://api.github.com/users/marvin-martian/following{/other_user}","gists_url":"https://api.github.com/users/marvin-martian/gists{/gist_id}","starred_url":"https://api.github.com/users/marvin-martian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marvin-martian/subscriptions","organizations_url":"https://api.github.com/users/marvin-martian/orgs","repos_url":"https://api.github.com/users/marvin-martian/repos","events_url":"https://api.github.com/users/marvin-martian/events{/privacy}","received_events_url":"https://api.github.com/users/marvin-martian/received_events","type":"User","site_admin":false},"repo":{"id":41479151,"name":"newsletter","full_name":"marvin-martian/newsletter","owner":{"login":"marvin-martian","id":13798780,"avatar_url":"https://avatars.githubusercontent.com/u/13798780?v=3","gravatar_id":"","url":"https://api.github.com/users/marvin-martian","html_url":"https://github.com/marvin-martian","followers_url":"https://api.github.com/users/marvin-martian/followers","following_url":"https://api.github.com/users/marvin-martian/following{/other_user}","gists_url":"https://api.github.com/users/marvin-martian/gists{/gist_id}","starred_url":"https://api.github.com/users/marvin-martian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marvin-martian/subscriptions","organizations_url":"https://api.github.com/users/marvin-martian/orgs","repos_url":"https://api.github.com/users/marvin-martian/repos","events_url":"https://api.github.com/users/marvin-martian/events{/privacy}","received_events_url":"https://api.github.com/users/marvin-martian/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/marvin-martian/newsletter","description":"TYPO3 extension to send newsletter","fork":true,"url":"https://api.github.com/repos/marvin-martian/newsletter","forks_url":"https://api.github.com/repos/marvin-martian/newsletter/forks","keys_url":"https://api.github.com/repos/marvin-martian/newsletter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/marvin-martian/newsletter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/marvin-martian/newsletter/teams","hooks_url":"https://api.github.com/repos/marvin-martian/newsletter/hooks","issue_events_url":"https://api.github.com/repos/marvin-martian/newsletter/issues/events{/number}","events_url":"https://api.github.com/repos/marvin-martian/newsletter/events","assignees_url":"https://api.github.com/repos/marvin-martian/newsletter/assignees{/user}","branches_url":"https://api.github.com/repos/marvin-martian/newsletter/branches{/branch}","tags_url":"https://api.github.com/repos/marvin-martian/newsletter/tags","blobs_url":"https://api.github.com/repos/marvin-martian/newsletter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/marvin-martian/newsletter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/marvin-martian/newsletter/git/refs{/sha}","trees_url":"https://api.github.com/repos/marvin-martian/newsletter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/marvin-martian/newsletter/statuses/{sha}","languages_url":"https://api.github.com/repos/marvin-martian/newsletter/languages","stargazers_url":"https://api.github.com/repos/marvin-martian/newsletter/stargazers","contributors_url":"https://api.github.com/repos/marvin-martian/newsletter/contributors","subscribers_url":"https://api.github.com/repos/marvin-martian/newsletter/subscribers","subscription_url":"https://api.github.com/repos/marvin-martian/newsletter/subscription","commits_url":"https://api.github.com/repos/marvin-martian/newsletter/commits{/sha}","git_commits_url":"https://api.github.com/repos/marvin-martian/newsletter/git/commits{/sha}","comments_url":"https://api.github.com/repos/marvin-martian/newsletter/comments{/number}","issue_comment_url":"https://api.github.com/repos/marvin-martian/newsletter/issues/comments{/number}","contents_url":"https://api.github.com/repos/marvin-martian/newsletter/contents/{+path}","compare_url":"https://api.github.com/repos/marvin-martian/newsletter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/marvin-martian/newsletter/merges","archive_url":"https://api.github.com/repos/marvin-martian/newsletter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/marvin-martian/newsletter/downloads","issues_url":"https://api.github.com/repos/marvin-martian/newsletter/issues{/number}","pulls_url":"https://api.github.com/repos/marvin-martian/newsletter/pulls{/number}","milestones_url":"https://api.github.com/repos/marvin-martian/newsletter/milestones{/number}","notifications_url":"https://api.github.com/repos/marvin-martian/newsletter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/marvin-martian/newsletter/labels{/name}","releases_url":"https://api.github.com/repos/marvin-martian/newsletter/releases{/id}","created_at":"2015-08-27T09:56:52Z","updated_at":"2015-08-27T09:56:53Z","pushed_at":"2015-08-28T08:32:41Z","git_url":"git://github.com/marvin-martian/newsletter.git","ssh_url":"git@github.com:marvin-martian/newsletter.git","clone_url":"https://github.com/marvin-martian/newsletter.git","svn_url":"https://github.com/marvin-martian/newsletter","homepage":"http://typo3.org/extensions/repository/view/newsletter","size":4243,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Ecodev:master","ref":"master","sha":"3889ed8a1d625182776ffb2e2a065f3e128f5249","user":{"login":"Ecodev","id":1638883,"avatar_url":"https://avatars.githubusercontent.com/u/1638883?v=3","gravatar_id":"","url":"https://api.github.com/users/Ecodev","html_url":"https://github.com/Ecodev","followers_url":"https://api.github.com/users/Ecodev/followers","following_url":"https://api.github.com/users/Ecodev/following{/other_user}","gists_url":"https://api.github.com/users/Ecodev/gists{/gist_id}","starred_url":"https://api.github.com/users/Ecodev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ecodev/subscriptions","organizations_url":"https://api.github.com/users/Ecodev/orgs","repos_url":"https://api.github.com/users/Ecodev/repos","events_url":"https://api.github.com/users/Ecodev/events{/privacy}","received_events_url":"https://api.github.com/users/Ecodev/received_events","type":"Organization","site_admin":false},"repo":{"id":4209674,"name":"newsletter","full_name":"Ecodev/newsletter","owner":{"login":"Ecodev","id":1638883,"avatar_url":"https://avatars.githubusercontent.com/u/1638883?v=3","gravatar_id":"","url":"https://api.github.com/users/Ecodev","html_url":"https://github.com/Ecodev","followers_url":"https://api.github.com/users/Ecodev/followers","following_url":"https://api.github.com/users/Ecodev/following{/other_user}","gists_url":"https://api.github.com/users/Ecodev/gists{/gist_id}","starred_url":"https://api.github.com/users/Ecodev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ecodev/subscriptions","organizations_url":"https://api.github.com/users/Ecodev/orgs","repos_url":"https://api.github.com/users/Ecodev/repos","events_url":"https://api.github.com/users/Ecodev/events{/privacy}","received_events_url":"https://api.github.com/users/Ecodev/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Ecodev/newsletter","description":"TYPO3 extension to send newsletter","fork":false,"url":"https://api.github.com/repos/Ecodev/newsletter","forks_url":"https://api.github.com/repos/Ecodev/newsletter/forks","keys_url":"https://api.github.com/repos/Ecodev/newsletter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Ecodev/newsletter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Ecodev/newsletter/teams","hooks_url":"https://api.github.com/repos/Ecodev/newsletter/hooks","issue_events_url":"https://api.github.com/repos/Ecodev/newsletter/issues/events{/number}","events_url":"https://api.github.com/repos/Ecodev/newsletter/events","assignees_url":"https://api.github.com/repos/Ecodev/newsletter/assignees{/user}","branches_url":"https://api.github.com/repos/Ecodev/newsletter/branches{/branch}","tags_url":"https://api.github.com/repos/Ecodev/newsletter/tags","blobs_url":"https://api.github.com/repos/Ecodev/newsletter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Ecodev/newsletter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Ecodev/newsletter/git/refs{/sha}","trees_url":"https://api.github.com/repos/Ecodev/newsletter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Ecodev/newsletter/statuses/{sha}","languages_url":"https://api.github.com/repos/Ecodev/newsletter/languages","stargazers_url":"https://api.github.com/repos/Ecodev/newsletter/stargazers","contributors_url":"https://api.github.com/repos/Ecodev/newsletter/contributors","subscribers_url":"https://api.github.com/repos/Ecodev/newsletter/subscribers","subscription_url":"https://api.github.com/repos/Ecodev/newsletter/subscription","commits_url":"https://api.github.com/repos/Ecodev/newsletter/commits{/sha}","git_commits_url":"https://api.github.com/repos/Ecodev/newsletter/git/commits{/sha}","comments_url":"https://api.github.com/repos/Ecodev/newsletter/comments{/number}","issue_comment_url":"https://api.github.com/repos/Ecodev/newsletter/issues/comments{/number}","contents_url":"https://api.github.com/repos/Ecodev/newsletter/contents/{+path}","compare_url":"https://api.github.com/repos/Ecodev/newsletter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Ecodev/newsletter/merges","archive_url":"https://api.github.com/repos/Ecodev/newsletter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Ecodev/newsletter/downloads","issues_url":"https://api.github.com/repos/Ecodev/newsletter/issues{/number}","pulls_url":"https://api.github.com/repos/Ecodev/newsletter/pulls{/number}","milestones_url":"https://api.github.com/repos/Ecodev/newsletter/milestones{/number}","notifications_url":"https://api.github.com/repos/Ecodev/newsletter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Ecodev/newsletter/labels{/name}","releases_url":"https://api.github.com/repos/Ecodev/newsletter/releases{/id}","created_at":"2012-05-03T02:12:52Z","updated_at":"2015-08-26T07:21:08Z","pushed_at":"2015-08-28T08:32:42Z","git_url":"git://github.com/Ecodev/newsletter.git","ssh_url":"git@github.com:Ecodev/newsletter.git","clone_url":"https://github.com/Ecodev/newsletter.git","svn_url":"https://github.com/Ecodev/newsletter","homepage":"http://typo3.org/extensions/repository/view/newsletter","size":4850,"stargazers_count":15,"watchers_count":15,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":16,"mirror_url":null,"open_issues_count":24,"forks":16,"open_issues":24,"watchers":15,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Ecodev/newsletter/pulls/71"},"html":{"href":"https://github.com/Ecodev/newsletter/pull/71"},"issue":{"href":"https://api.github.com/repos/Ecodev/newsletter/issues/71"},"comments":{"href":"https://api.github.com/repos/Ecodev/newsletter/issues/71/comments"},"review_comments":{"href":"https://api.github.com/repos/Ecodev/newsletter/pulls/71/comments"},"review_comment":{"href":"https://api.github.com/repos/Ecodev/newsletter/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Ecodev/newsletter/pulls/71/commits"},"statuses":{"href":"https://api.github.com/repos/Ecodev/newsletter/statuses/97b2714831b3b7d0dca41296e8805b935906a3bd"}}}}