{"action":"created","issue":{"url":"https://api.github.com/repos/BishopFox/cve-2016-1764/issues/1","repository_url":"https://api.github.com/repos/BishopFox/cve-2016-1764","labels_url":"https://api.github.com/repos/BishopFox/cve-2016-1764/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/BishopFox/cve-2016-1764/issues/1/comments","events_url":"https://api.github.com/repos/BishopFox/cve-2016-1764/issues/1/events","html_url":"https://github.com/BishopFox/cve-2016-1764/pull/1","id":147084365,"number":1,"title":"Clean up filename string before calling basename","user":{"login":"EricZeiberg","id":4945312,"avatar_url":"https://avatars.githubusercontent.com/u/4945312?v=3","gravatar_id":"","url":"https://api.github.com/users/EricZeiberg","html_url":"https://github.com/EricZeiberg","followers_url":"https://api.github.com/users/EricZeiberg/followers","following_url":"https://api.github.com/users/EricZeiberg/following{/other_user}","gists_url":"https://api.github.com/users/EricZeiberg/gists{/gist_id}","starred_url":"https://api.github.com/users/EricZeiberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EricZeiberg/subscriptions","organizations_url":"https://api.github.com/users/EricZeiberg/orgs","repos_url":"https://api.github.com/users/EricZeiberg/repos","events_url":"https://api.github.com/users/EricZeiberg/events{/privacy}","received_events_url":"https://api.github.com/users/EricZeiberg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-09T03:24:38Z","updated_at":"2016-04-09T22:18:53Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/BishopFox/cve-2016-1764/pulls/1","html_url":"https://github.com/BishopFox/cve-2016-1764/pull/1","diff_url":"https://github.com/BishopFox/cve-2016-1764/pull/1.diff","patch_url":"https://github.com/BishopFox/cve-2016-1764/pull/1.patch"},"body":"I haven't tested this throughly with other setups but I had to include this line to get it to work for me. \r\n\r\nI cant seem to see a case where filename is not \"chat.db/\", which when passed into `os.path.basename()` returns nothing. Removing the trailing slash allows basename to return \"chat.db\". "},"comment":{"url":"https://api.github.com/repos/BishopFox/cve-2016-1764/issues/comments/207865419","html_url":"https://github.com/BishopFox/cve-2016-1764/pull/1#issuecomment-207865419","issue_url":"https://api.github.com/repos/BishopFox/cve-2016-1764/issues/1","id":207865419,"user":{"login":"moloch--","id":875022,"avatar_url":"https://avatars.githubusercontent.com/u/875022?v=3","gravatar_id":"","url":"https://api.github.com/users/moloch--","html_url":"https://github.com/moloch--","followers_url":"https://api.github.com/users/moloch--/followers","following_url":"https://api.github.com/users/moloch--/following{/other_user}","gists_url":"https://api.github.com/users/moloch--/gists{/gist_id}","starred_url":"https://api.github.com/users/moloch--/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moloch--/subscriptions","organizations_url":"https://api.github.com/users/moloch--/orgs","repos_url":"https://api.github.com/users/moloch--/repos","events_url":"https://api.github.com/users/moloch--/events{/privacy}","received_events_url":"https://api.github.com/users/moloch--/received_events","type":"User","site_admin":false},"created_at":"2016-04-09T22:18:53Z","updated_at":"2016-04-09T22:18:53Z","body":"It's not letting me approve it, I think we need @infosec-au "}}