diff --git a/core/services/azblob/src/core.rs b/core/services/azblob/src/core.rs index 1bb10e08dca7..c70ad3a36226 100644 --- a/core/services/azblob/src/core.rs +++ b/core/services/azblob/src/core.rs @@ -801,7 +801,7 @@ impl AzblobCore { url = url.push("delimiter", delimiter); } if !next_marker.is_empty() { - url = url.push("marker", next_marker); + url = url.push("marker", &percent_encode_path(next_marker)); } let req = Request::get(url.finish()) diff --git a/core/services/azfile/src/core.rs b/core/services/azfile/src/core.rs index fc1395d70895..c0e7c3991cac 100644 --- a/core/services/azfile/src/core.rs +++ b/core/services/azfile/src/core.rs @@ -433,7 +433,7 @@ impl AzfileCore { .push("include", "Timestamps,ETag"); if !continuation.is_empty() { - url = url.push("marker", continuation); + url = url.push("marker", &percent_encode_path(continuation)); } if let Some(limit) = limit { diff --git a/core/services/cos/src/core.rs b/core/services/cos/src/core.rs index ec07da45bf3a..55e319040ad9 100644 --- a/core/services/cos/src/core.rs +++ b/core/services/cos/src/core.rs @@ -410,7 +410,7 @@ impl CosCore { url = url.push("max-keys", &limit.to_string()); } if !next_marker.is_empty() { - url = url.push("marker", next_marker); + url = url.push("marker", &percent_encode_path(next_marker)); } let req = Request::get(url.finish()) diff --git a/core/services/obs/src/core.rs b/core/services/obs/src/core.rs index f2333c20144b..e800511d991e 100644 --- a/core/services/obs/src/core.rs +++ b/core/services/obs/src/core.rs @@ -351,7 +351,7 @@ impl ObsCore { url = url.push("max-keys", &limit.to_string()); } if !next_marker.is_empty() { - url = url.push("marker", next_marker); + url = url.push("marker", &percent_encode_path(next_marker)); } let req = Request::get(url.finish()) diff --git a/core/services/swift/src/core.rs b/core/services/swift/src/core.rs index 30399a42f7b7..486997f2b733 100644 --- a/core/services/swift/src/core.rs +++ b/core/services/swift/src/core.rs @@ -214,7 +214,7 @@ impl SwiftCore { url = url.push("limit", &limit.to_string()); } if !marker.is_empty() { - url = url.push("marker", marker); + url = url.push("marker", &percent_encode_path(marker)); } let mut req = Request::get(url.finish());