Itai Admi
09/02/2021, 9:59 AM<s3://bucket/prefix>
and <s3://bucket/prefix/>
. i.e. all objects stored in <s3://bucket/prefix/>
But what about cases when the user provides something strange like <s3://bucket/prefix///>
, should we also store it under <s3://bucket/prefix/>
, or is <s3://bucket/prefix///>
appropriate in this case..?Oz Katz
Itai Admi
09/02/2021, 11:56 AM<s3://bucket/prefix///>
is equivalent to <s3://bucket/prefix/>
. So will remove trailing slashes in a similar manner to avoid errors for this very peculiar case.