{"action":"created","issue":{"url":"https://api.github.com/repos/jamhall/s3rver/issues/6","labels_url":"https://api.github.com/repos/jamhall/s3rver/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/jamhall/s3rver/issues/6/comments","events_url":"https://api.github.com/repos/jamhall/s3rver/issues/6/events","html_url":"https://github.com/jamhall/s3rver/issues/6","id":107110887,"number":6,"title":"List buckets","user":{"login":"Lochemage","id":1714109,"avatar_url":"https://avatars.githubusercontent.com/u/1714109?v=3","gravatar_id":"","url":"https://api.github.com/users/Lochemage","html_url":"https://github.com/Lochemage","followers_url":"https://api.github.com/users/Lochemage/followers","following_url":"https://api.github.com/users/Lochemage/following{/other_user}","gists_url":"https://api.github.com/users/Lochemage/gists{/gist_id}","starred_url":"https://api.github.com/users/Lochemage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lochemage/subscriptions","organizations_url":"https://api.github.com/users/Lochemage/orgs","repos_url":"https://api.github.com/users/Lochemage/repos","events_url":"https://api.github.com/users/Lochemage/events{/privacy}","received_events_url":"https://api.github.com/users/Lochemage/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-09-18T01:17:10Z","updated_at":"2015-09-22T19:51:45Z","closed_at":null,"body":"Hi, I really like that you have taken fakes3 and ported it to Node.js, since my main project is already in Node it keeps me from setting up Ruby etc.\r\n\r\nIs there any chance for implementing list bucket operations for this?"},"comment":{"url":"https://api.github.com/repos/jamhall/s3rver/issues/comments/142400013","html_url":"https://github.com/jamhall/s3rver/issues/6#issuecomment-142400013","issue_url":"https://api.github.com/repos/jamhall/s3rver/issues/6","id":142400013,"user":{"login":"Lochemage","id":1714109,"avatar_url":"https://avatars.githubusercontent.com/u/1714109?v=3","gravatar_id":"","url":"https://api.github.com/users/Lochemage","html_url":"https://github.com/Lochemage","followers_url":"https://api.github.com/users/Lochemage/followers","following_url":"https://api.github.com/users/Lochemage/following{/other_user}","gists_url":"https://api.github.com/users/Lochemage/gists{/gist_id}","starred_url":"https://api.github.com/users/Lochemage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lochemage/subscriptions","organizations_url":"https://api.github.com/users/Lochemage/orgs","repos_url":"https://api.github.com/users/Lochemage/repos","events_url":"https://api.github.com/users/Lochemage/events{/privacy}","received_events_url":"https://api.github.com/users/Lochemage/received_events","type":"User","site_admin":false},"created_at":"2015-09-22T19:51:45Z","updated_at":"2015-09-22T19:51:45Z","body":"@jamhall \r\n\r\nI've done a little more investigating into your s3rver code and have narrowed down the problem point.\r\n\r\nIn `file-store.js`, `getObjects()` has a line where to tests the prefix `var key = file.replace(bucketPath + '/', '');`. However, the list of keys retrieved by `var keys = utils.walk(bucketPath);` seems to format each key using backslashes. I was able to fix it by changing each reference of '/' with '\\\\' instead."}}