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

URL format changed #1

Open
DongZhang opened this issue Jun 4, 2015 · 2 comments
Open

URL format changed #1

DongZhang opened this issue Jun 4, 2015 · 2 comments

Comments

@DongZhang
Copy link

Don't know when they changed the format of a signed URL, but the new URL to a specific file should look like:
http://[bucket name].s3.amazonaws.com/[folder/file]?AWSAccessKeyId= [Key ID]&Expires=[Expires]&Signature=[Signature]

See:
http://www.bucketexplorer.com/documentation/amazon-s3--how-to-generate-url-for-amazon-s3-files.html

@mrisinger
Copy link

The utility is still working for me using the existing URL format. Maybe they support both formats.

@olivererdmann
Copy link

Also, the base-URL is different for other regions like EU, see this discussion.

I got valid URLs by simply changing the value of base in generateSignedUrl() to, for example, "https://s3-eu-west-1.amazonaws.com" (Ireland).

I think it would be a valid option to allow pasting the full link, copied from S3, without hard-coding the base.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants