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

PUT does not fail when using another file than specified #1

Open
coniel opened this issue Aug 1, 2017 · 0 comments
Open

PUT does not fail when using another file than specified #1

coniel opened this issue Aug 1, 2017 · 0 comments

Comments

@coniel
Copy link

coniel commented Aug 1, 2017

Thanks for this example, was just what I needed.

I noticed though that in the documentation, it says "If either of these parameters does not match the file which is uploaded in the next step, S3 will throw an error and refuse the upload."

However, the upload succeeds with a different file and even a file with a different MIME type. Also, the link can be used several times (although it expires after a given time).

Is there some configuration that needs to be done to achieve those effects or is the documentation mistaken? I couldn't find anything in the AWS documentation that suggests the signed URL is single use and that the file must match the name and type given when generating it.

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

1 participant