claude found neat bugs

This commit is contained in:
Patricio Whittingslow
2026-07-25 19:51:06 -03:00
parent 0fd0ad8cbf
commit 9397caf144
2 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -605,7 +605,7 @@ func CopyDecodedPercentURL(dst, value []byte, plusAsSpace bool) (n int, err erro
func copyPlusDecoded(dst, src []byte, plusAsSpace bool) int {
n := copy(dst, src)
if plusAsSpace {
for i := 0; i < n; i++ {
for i := range n {
if dst[i] == '+' {
dst[i] = ' '
}