{"action":"created","issue":{"url":"https://api.github.com/repos/chrisben/imgcache.js/issues/108","labels_url":"https://api.github.com/repos/chrisben/imgcache.js/issues/108/labels{/name}","comments_url":"https://api.github.com/repos/chrisben/imgcache.js/issues/108/comments","events_url":"https://api.github.com/repos/chrisben/imgcache.js/issues/108/events","html_url":"https://github.com/chrisben/imgcache.js/issues/108","id":60019199,"number":108,"title":"Double bar on local path generates \"Download error code: 1\"","user":{"login":"begrossi","id":1013498,"avatar_url":"https://avatars.githubusercontent.com/u/1013498?v=3","gravatar_id":"","url":"https://api.github.com/users/begrossi","html_url":"https://github.com/begrossi","followers_url":"https://api.github.com/users/begrossi/followers","following_url":"https://api.github.com/users/begrossi/following{/other_user}","gists_url":"https://api.github.com/users/begrossi/gists{/gist_id}","starred_url":"https://api.github.com/users/begrossi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/begrossi/subscriptions","organizations_url":"https://api.github.com/users/begrossi/orgs","repos_url":"https://api.github.com/users/begrossi/repos","events_url":"https://api.github.com/users/begrossi/events{/privacy}","received_events_url":"https://api.github.com/users/begrossi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-03-05T21:30:11Z","updated_at":"2015-10-31T15:57:28Z","closed_at":"2015-10-31T15:57:28Z","body":"I'm using the latest version of imgcache. Some images are cached ok, but other has a double bar on local path, like file:///storage/emulated/0/pertoo-cache**//**7cc3ae52582d7b9a6198cbe020346e495384e8c7.jpg.\r\n\r\n```\r\nERROR: Download error source: https://pertoo-assets.s3.amazonaws.com/h/78523/newsletters/53feacc6d0b03eb42c55c7e9/bW75wbmEQjKwiMo4Y4Uw_Android%2520intro-0.jpg\r\nERROR: Download error target: file:///storage/emulated/0/pertoo-cache//7cc3ae52582d7b9a6198cbe020346e495384e8c7.jpg\r\nERROR: Download error code: 1\r\n```"},"comment":{"url":"https://api.github.com/repos/chrisben/imgcache.js/issues/comments/152745154","html_url":"https://github.com/chrisben/imgcache.js/issues/108#issuecomment-152745154","issue_url":"https://api.github.com/repos/chrisben/imgcache.js/issues/108","id":152745154,"user":{"login":"chrisben","id":679230,"avatar_url":"https://avatars.githubusercontent.com/u/679230?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisben","html_url":"https://github.com/chrisben","followers_url":"https://api.github.com/users/chrisben/followers","following_url":"https://api.github.com/users/chrisben/following{/other_user}","gists_url":"https://api.github.com/users/chrisben/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisben/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisben/subscriptions","organizations_url":"https://api.github.com/users/chrisben/orgs","repos_url":"https://api.github.com/users/chrisben/repos","events_url":"https://api.github.com/users/chrisben/events{/privacy}","received_events_url":"https://api.github.com/users/chrisben/received_events","type":"User","site_admin":false},"created_at":"2015-10-31T15:57:28Z","updated_at":"2015-10-31T15:57:28Z","body":"@begrossi I am adding a kind of code similar to yours to avoid this double slash issue that has reported by someone else as well. Hopefully it will help prevent problems.\r\nClosing this issue for now as I haven't heard from you since."}}