Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: s3: uploading to dest with slash in beginning should fail but doesn't #21

Open
davidduffett opened this issue Jan 15, 2015 · 1 comment
Labels

Comments

@davidduffett
Copy link

When you specify a "dest" option that begins with a slash, eg:

{
  src: "**",
  dest: "/myfolder/"
}

The task output displays like it has succeeded, eg:

Running "s3:assets" (s3) task
Retrieving list of existing objects prefixed with '/myfolder/'...
Put '/myfolder/myfile.html'

When actually nothing is uploaded at all.

The task should probably fail in these cases, as a slash is not valid at the beginning of an object identifier in S3.

@jpillora jpillora added the bug label Jan 15, 2015
@jpillora
Copy link
Owner

Yep, thats a bug, not sure when I'll get time to fix it though...

@jpillora jpillora changed the title S3: uploading to dest with slash in beginning should fail but doesn't Bug: s3: uploading to dest with slash in beginning should fail but doesn't Jan 15, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants