mirror of
https://github.com/rustfs/rustfs.git
synced 2026-01-17 09:40:32 +00:00
fix
This commit is contained in:
@@ -168,7 +168,7 @@ fn get_canonical_request(req: &request::Builder, ignored_headers: &HashMap<Strin
|
||||
// Build canonical query string
|
||||
let sorted_params: Vec<String> = query_params
|
||||
.iter()
|
||||
.map(|(k, v)| if v.is_empty() { k.clone() } else { format!("{}={}", k, v) })
|
||||
.map(|(k, v)| format!("{}={}", k, v) )
|
||||
.collect();
|
||||
|
||||
canonical_query_string = sorted_params.join("&");
|
||||
|
||||
Reference in New Issue
Block a user