{"action":"created","issue":{"url":"https://api.github.com/repos/bitcoin/bitcoin/issues/5770","labels_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/5770/labels{/name}","comments_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/5770/comments","events_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/5770/events","html_url":"https://github.com/bitcoin/bitcoin/pull/5770","id":56945297,"number":5770,"title":"Sanitize command strings before logging them.","user":{"login":"gmaxwell","id":858454,"avatar_url":"https://avatars.githubusercontent.com/u/858454?v=3","gravatar_id":"","url":"https://api.github.com/users/gmaxwell","html_url":"https://github.com/gmaxwell","followers_url":"https://api.github.com/users/gmaxwell/followers","following_url":"https://api.github.com/users/gmaxwell/following{/other_user}","gists_url":"https://api.github.com/users/gmaxwell/gists{/gist_id}","starred_url":"https://api.github.com/users/gmaxwell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmaxwell/subscriptions","organizations_url":"https://api.github.com/users/gmaxwell/orgs","repos_url":"https://api.github.com/users/gmaxwell/repos","events_url":"https://api.github.com/users/gmaxwell/events{/privacy}","received_events_url":"https://api.github.com/users/gmaxwell/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bitcoin/bitcoin/labels/Bug","name":"Bug","color":"FBBAAB"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-08T09:22:53Z","updated_at":"2015-02-08T10:45:48Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/bitcoin/bitcoin/pulls/5770","html_url":"https://github.com/bitcoin/bitcoin/pull/5770","diff_url":"https://github.com/bitcoin/bitcoin/pull/5770.diff","patch_url":"https://github.com/bitcoin/bitcoin/pull/5770.patch"},"body":"Normally bitcoin core does not display any network originated strings without\r\n sanitizing or hex encoding.  This wasn't done for strcommand in many places.\r\n\r\nThis could be used to play havoc with a terminal displaying the logs,\r\n especially with printtoconsole in use.\r\n\r\nThanks to Evil-Knievel for reporting this issue."},"comment":{"url":"https://api.github.com/repos/bitcoin/bitcoin/issues/comments/73405705","html_url":"https://github.com/bitcoin/bitcoin/pull/5770#issuecomment-73405705","issue_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/5770","id":73405705,"user":{"login":"paveljanik","id":6848764,"avatar_url":"https://avatars.githubusercontent.com/u/6848764?v=3","gravatar_id":"","url":"https://api.github.com/users/paveljanik","html_url":"https://github.com/paveljanik","followers_url":"https://api.github.com/users/paveljanik/followers","following_url":"https://api.github.com/users/paveljanik/following{/other_user}","gists_url":"https://api.github.com/users/paveljanik/gists{/gist_id}","starred_url":"https://api.github.com/users/paveljanik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paveljanik/subscriptions","organizations_url":"https://api.github.com/users/paveljanik/orgs","repos_url":"https://api.github.com/users/paveljanik/repos","events_url":"https://api.github.com/users/paveljanik/events{/privacy}","received_events_url":"https://api.github.com/users/paveljanik/received_events","type":"User","site_admin":false},"created_at":"2015-02-08T10:45:48Z","updated_at":"2015-02-08T10:45:48Z","body":"ACK"}}