Skip to content

Commit

Permalink
fix(list): Bug 1186 - url sign error
Browse files Browse the repository at this point in the history
  • Loading branch information
GuiLorencato authored and publi0 committed Feb 18, 2025
1 parent bb6a954 commit 2f82f3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mgc/sdk/static/object_storage/common/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ func buildListRequestURL(cfg Config, bucketURI mgcSchemaPkg.URI) (*url.URL, erro
if lastChar != delimiter {
path += delimiter
}
q.Set("prefix", path)
q.Set("prefix", url.PathEscape(path))
}
u.RawQuery = q.Encode()
return u, nil
Expand Down

0 comments on commit 2f82f3d

Please sign in to comment.