removed print

pull/3379/head
Anshul Sinha 2025-04-01 19:47:02 +05:30
parent 0d06e7ea90
commit 1e8700af58
1 changed files with 0 additions and 1 deletions

1
ctx.go
View File

@ -454,7 +454,6 @@ func (c *DefaultCtx) Cookies(key string, defaultValue ...string) string {
value := c.app.getString(c.fasthttp.Request.Header.Cookie(key))
// If the value looks like binary data, return it as-is
if len(value) > 0 && !utf8.ValidString(value) {
fmt.Println("Detected non-UTF8 cookie value, returning raw bytes")
return value
}
return defaultString(c.sanitizeCookieValue(value), defaultValue)