{"action":"created","issue":{"url":"https://api.github.com/repos/evi-snowm/cert-downloader/issues/2","labels_url":"https://api.github.com/repos/evi-snowm/cert-downloader/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/evi-snowm/cert-downloader/issues/2/comments","events_url":"https://api.github.com/repos/evi-snowm/cert-downloader/issues/2/events","html_url":"https://github.com/evi-snowm/cert-downloader/issues/2","id":124660900,"number":2,"title":"Support spaces in file url","user":{"login":"martinjuhasz","id":204190,"avatar_url":"https://avatars.githubusercontent.com/u/204190?v=3","gravatar_id":"","url":"https://api.github.com/users/martinjuhasz","html_url":"https://github.com/martinjuhasz","followers_url":"https://api.github.com/users/martinjuhasz/followers","following_url":"https://api.github.com/users/martinjuhasz/following{/other_user}","gists_url":"https://api.github.com/users/martinjuhasz/gists{/gist_id}","starred_url":"https://api.github.com/users/martinjuhasz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martinjuhasz/subscriptions","organizations_url":"https://api.github.com/users/martinjuhasz/orgs","repos_url":"https://api.github.com/users/martinjuhasz/repos","events_url":"https://api.github.com/users/martinjuhasz/events{/privacy}","received_events_url":"https://api.github.com/users/martinjuhasz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-03T17:38:31Z","updated_at":"2016-01-04T11:23:47Z","closed_at":null,"body":"I tried verifying an ipa file that contains a space in its filepath:\r\n\r\n```javascript\r\nvar certDl = new (require('cert-downloader'));\r\n  certDl.verify('storage/Ipa Help.ipa', function(error, output) {\r\n    if(error){\r\n      return callback(error);\r\n    }\r\n    callback(null, plist.parse(output));\r\n  });\r\n```\r\n\r\nThis fails because the filepath string is directly added to the openssl command without escaping.\r\nchanging the command line from\r\n```\r\nopenssl smime -in %s -inform der -verify -CAfile %s'\r\n```\r\nto \r\n```\r\nopenssl smime -in \"%s\" -inform der -verify -CAfile %s'\r\n```\r\nwould prevent this.\r\n\r\nWhat do you think about my issue?"},"comment":{"url":"https://api.github.com/repos/evi-snowm/cert-downloader/issues/comments/168651393","html_url":"https://github.com/evi-snowm/cert-downloader/issues/2#issuecomment-168651393","issue_url":"https://api.github.com/repos/evi-snowm/cert-downloader/issues/2","id":168651393,"user":{"login":"evi-snowm","id":8179340,"avatar_url":"https://avatars.githubusercontent.com/u/8179340?v=3","gravatar_id":"","url":"https://api.github.com/users/evi-snowm","html_url":"https://github.com/evi-snowm","followers_url":"https://api.github.com/users/evi-snowm/followers","following_url":"https://api.github.com/users/evi-snowm/following{/other_user}","gists_url":"https://api.github.com/users/evi-snowm/gists{/gist_id}","starred_url":"https://api.github.com/users/evi-snowm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evi-snowm/subscriptions","organizations_url":"https://api.github.com/users/evi-snowm/orgs","repos_url":"https://api.github.com/users/evi-snowm/repos","events_url":"https://api.github.com/users/evi-snowm/events{/privacy}","received_events_url":"https://api.github.com/users/evi-snowm/received_events","type":"User","site_admin":false},"created_at":"2016-01-04T11:23:47Z","updated_at":"2016-01-04T11:23:47Z","body":"Just published version 0.2.1, this should address your issue."}}