Skip to content

Commit

Permalink
fix(services/cos): fix prefix param (#3384)
Browse files Browse the repository at this point in the history
  • Loading branch information
G-XD authored Oct 25, 2023
1 parent c5333ea commit 813a29e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/services/cos/core.rs
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ impl CosCore {
let p = build_abs_path(&self.root, path);

let mut queries = vec![];
if !path.is_empty() {
if !p.is_empty() {
queries.push(format!("prefix={}", percent_encode_path(&p)));
}
if !delimiter.is_empty() {
Expand Down

0 comments on commit 813a29e

Please sign in to comment.