When a key parameter in S3_put_object function starts with “/“ plus directory name, for example: /directory/…, then a noname top directory is created in the bucket, for example: bucket//directory/… .
This PR fixes it.
Impact: double "/" is needed to get a noname directory for example: //key.
When a key parameter in S3_put_object function starts with “/“ plus directory name, for example: /directory/…, then a noname top directory is created in the bucket, for example: bucket//directory/… . This PR fixes it. Impact: double "/" is needed to get a noname directory for example: //key.