From 719fbde7c4799bc10fdf6e81d149e0048407ffcd Mon Sep 17 00:00:00 2001 From: Charles Iliya Krempeaux Date: Sat, 9 Dec 2023 03:25:28 -0800 Subject: [PATCH] initial commits --- requesturi/bytes_tolerant.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requesturi/bytes_tolerant.go b/requesturi/bytes_tolerant.go index c36fa6a..a41ad51 100644 --- a/requesturi/bytes_tolerant.go +++ b/requesturi/bytes_tolerant.go @@ -20,7 +20,7 @@ func BytesTolerant(p []byte) (result []byte, rest []byte, ok bool) { { for i,b := range p { - if sp.ByteIsTolerant(p0) || '\r' == p0 || '\n' == p0 { + if sp.ByteIsTolerant(b) || '\r' == b || '\n' == b { return p[:i], p[i:], true } }