{"action":"opened","issue":{"url":"https://api.github.com/repos/mozilla-services/push-dev-dashboard/issues/238","repository_url":"https://api.github.com/repos/mozilla-services/push-dev-dashboard","labels_url":"https://api.github.com/repos/mozilla-services/push-dev-dashboard/issues/238/labels{/name}","comments_url":"https://api.github.com/repos/mozilla-services/push-dev-dashboard/issues/238/comments","events_url":"https://api.github.com/repos/mozilla-services/push-dev-dashboard/issues/238/events","html_url":"https://github.com/mozilla-services/push-dev-dashboard/issues/238","id":168451356,"number":238,"title":"Call to DELETE /keys/ uses not-fully-escaped vapid_key string","user":{"login":"thexeos","id":2260539,"avatar_url":"https://avatars.githubusercontent.com/u/2260539?v=3","gravatar_id":"","url":"https://api.github.com/users/thexeos","html_url":"https://github.com/thexeos","followers_url":"https://api.github.com/users/thexeos/followers","following_url":"https://api.github.com/users/thexeos/following{/other_user}","gists_url":"https://api.github.com/users/thexeos/gists{/gist_id}","starred_url":"https://api.github.com/users/thexeos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thexeos/subscriptions","organizations_url":"https://api.github.com/users/thexeos/orgs","repos_url":"https://api.github.com/users/thexeos/repos","events_url":"https://api.github.com/users/thexeos/events{/privacy}","received_events_url":"https://api.github.com/users/thexeos/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-30T05:45:52Z","updated_at":"2016-07-30T05:45:52Z","closed_at":null,"body":"While testing the dev-dashboard, I used a Base64 (not URL friendly) public key to create a new application. When attempting to delete it, I got MessagesAPIError. It turned out the vapid_key was passed literally without encoding the forward slash.\r\n\r\nThe fix is to use `quote(instance.vapid_key, safe='')` to force all special characters to get URL encoded. #237"}}
{"actor":{"display_login":"thexeos"}}