Skip to content

Commit

Permalink
render percent encoded bytes lowercased
Browse files Browse the repository at this point in the history
Signed-off-by: Jörn Friedrich Dreyer <[email protected]>
  • Loading branch information
butonic committed Jan 30, 2021
1 parent 1acb45e commit a6a3c27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/http/services/owncloud/ocdav/ocdav.go
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ func encodePath(path string) string {
b := groups[1]
var sb strings.Builder
for i := 0; i < len(b); i++ {
sb.WriteString(fmt.Sprintf("%%%X", b[i]))
sb.WriteString(fmt.Sprintf("%%%x", b[i]))
}
return sb.String()
})
Expand Down

0 comments on commit a6a3c27

Please sign in to comment.