{"action":"created","issue":{"url":"https://api.github.com/repos/mautic/mautic/issues/917","labels_url":"https://api.github.com/repos/mautic/mautic/issues/917/labels{/name}","comments_url":"https://api.github.com/repos/mautic/mautic/issues/917/comments","events_url":"https://api.github.com/repos/mautic/mautic/issues/917/events","html_url":"https://github.com/mautic/mautic/pull/917","id":107347255,"number":917,"title":"Prevented a redirect URL from being saved to the database with encoded ampersands","user":{"login":"alanhartless","id":63312,"avatar_url":"https://avatars.githubusercontent.com/u/63312?v=3","gravatar_id":"","url":"https://api.github.com/users/alanhartless","html_url":"https://github.com/alanhartless","followers_url":"https://api.github.com/users/alanhartless/followers","following_url":"https://api.github.com/users/alanhartless/following{/other_user}","gists_url":"https://api.github.com/users/alanhartless/gists{/gist_id}","starred_url":"https://api.github.com/users/alanhartless/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alanhartless/subscriptions","organizations_url":"https://api.github.com/users/alanhartless/orgs","repos_url":"https://api.github.com/users/alanhartless/repos","events_url":"https://api.github.com/users/alanhartless/events{/privacy}","received_events_url":"https://api.github.com/users/alanhartless/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mautic/mautic/labels/Bug","name":"Bug","color":"e11d21"},{"url":"https://api.github.com/repos/mautic/mautic/labels/Ready%20To%20Test","name":"Ready To Test","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/mautic/mautic/milestones/7","html_url":"https://github.com/mautic/mautic/milestones/1.2.1","labels_url":"https://api.github.com/repos/mautic/mautic/milestones/7/labels","id":1272145,"number":7,"title":"1.2.1","description":"","creator":{"login":"alanhartless","id":63312,"avatar_url":"https://avatars.githubusercontent.com/u/63312?v=3","gravatar_id":"","url":"https://api.github.com/users/alanhartless","html_url":"https://github.com/alanhartless","followers_url":"https://api.github.com/users/alanhartless/followers","following_url":"https://api.github.com/users/alanhartless/following{/other_user}","gists_url":"https://api.github.com/users/alanhartless/gists{/gist_id}","starred_url":"https://api.github.com/users/alanhartless/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alanhartless/subscriptions","organizations_url":"https://api.github.com/users/alanhartless/orgs","repos_url":"https://api.github.com/users/alanhartless/repos","events_url":"https://api.github.com/users/alanhartless/events{/privacy}","received_events_url":"https://api.github.com/users/alanhartless/received_events","type":"User","site_admin":false},"open_issues":35,"closed_issues":62,"state":"open","created_at":"2015-08-25T19:28:28Z","updated_at":"2015-10-22T12:08:55Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2015-09-19T17:51:12Z","updated_at":"2015-10-22T12:11:01Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mautic/mautic/pulls/917","html_url":"https://github.com/mautic/mautic/pull/917","diff_url":"https://github.com/mautic/mautic/pull/917.diff","patch_url":"https://github.com/mautic/mautic/pull/917.patch"},"body":"**Description**\r\n\r\nIf a redirect URL has an encoded ampersand in it, it's saved to the database as so and thus redirected with the encoded ampersand. See #880.\r\n\r\n**Testing**\r\nAdd a URL to an email that includes a query string with an ampersand, save and send. The redirect URL will be saved with the encoded ampersand. After the PR, links should be saved with decoded ampersands and ensure they are decoded at the time of being redirected as well. "},"comment":{"url":"https://api.github.com/repos/mautic/mautic/issues/comments/150202170","html_url":"https://github.com/mautic/mautic/pull/917#issuecomment-150202170","issue_url":"https://api.github.com/repos/mautic/mautic/issues/917","id":150202170,"user":{"login":"escopecz","id":1235442,"avatar_url":"https://avatars.githubusercontent.com/u/1235442?v=3","gravatar_id":"","url":"https://api.github.com/users/escopecz","html_url":"https://github.com/escopecz","followers_url":"https://api.github.com/users/escopecz/followers","following_url":"https://api.github.com/users/escopecz/following{/other_user}","gists_url":"https://api.github.com/users/escopecz/gists{/gist_id}","starred_url":"https://api.github.com/users/escopecz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/escopecz/subscriptions","organizations_url":"https://api.github.com/users/escopecz/orgs","repos_url":"https://api.github.com/users/escopecz/repos","events_url":"https://api.github.com/users/escopecz/events{/privacy}","received_events_url":"https://api.github.com/users/escopecz/received_events","type":"User","site_admin":false},"created_at":"2015-10-22T12:11:01Z","updated_at":"2015-10-22T12:11:01Z","body":"I take it back. It works correctly. The ampersand should be encoded. Redirect works fine. :+1: "}}