JuliaServices / CloudStore.jl

A simple, consistent, and performant API for interacting with common cloud storage abstractions
Other
16 stars 8 forks source link

New s3 validatekey fails when you have a presigned URL #38

Open quinnj opened 1 year ago

quinnj commented 1 year ago

cc: @Drvi

quinnj commented 1 year ago

I noticed this during some drive-by testing; if you generate a pre-signed URL for an s3 object, the validatekey function will fail because the urls are often > 1024 characters, because we're currently including the object name and everything after it in the URL as the "key". We need to maybe call URIs.URI so we can split out the query portion of the url before passing to validatekey.