in Sources/OSS/Signer/SignerV1.swift [197:203]
func resourcePath(bucket: String?, key: String?) -> String {
var resourcePath = "/" + (bucket ?? "") + (key != nil ? "/" + key! : "")
if bucket != nil && key == nil {
resourcePath = resourcePath + "/"
}
return resourcePath
}