Skip to content

Commit ce22bf2

Browse files
authored
Allow ampersand in file path (#139)
1 parent 32689e8 commit ce22bf2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/dataplane/http/context.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ func (c *context) GetContainerContentsSync(getContainerContentsInput *v3io.GetCo
198198
var queryBuilder strings.Builder
199199
if getContainerContentsInput.Path != "" {
200200
queryBuilder.WriteString("prefix=")
201-
queryBuilder.WriteString(url.PathEscape(getContainerContentsInput.Path))
201+
queryBuilder.WriteString(url.QueryEscape(getContainerContentsInput.Path))
202202
}
203203

204204
if getContainerContentsInput.DirectoriesOnly {

0 commit comments

Comments
 (0)