diff --git a/src/s3/http.rs b/src/s3/http.rs index 966ca1b5..d23f6688 100644 --- a/src/s3/http.rs +++ b/src/s3/http.rs @@ -455,8 +455,7 @@ impl BaseUrl { if !v.starts_with('/') { path.push('/'); } - // FIXME: urlencode path - path.push_str(v); + path.push_str(&urlencoding::encode(v).to_owned()); } url.host = host;