Replies: 1 comment
-
OK after a test I see someone could parse something that did not come from a header. In this case it seems like if strings.Count(token, tokenDelimiter) != 2 {
return nil, false
} at the top of |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
So GHSA-mh63-6h87-95cp says excessive memory can be allocated. Go by default limits headers to 1MB, how is a 1MB header with 2000
.
characters worse than one with 3? If someone is truly concerned they should be lowering that limit because even 1MB is probably incredibly excessive for most applications. I guess this is probably just a general Go question but hopefully someone can explain.Beta Was this translation helpful? Give feedback.
All reactions