]> Cypherpunks.ru repositories - gostls13.git/commit
net/http: respond with 400 Bad Request for empty hex number of chunk length
authorAndy Pan <panjf2000@gmail.com>
Thu, 4 Jan 2024 07:28:14 +0000 (15:28 +0800)
committerGopher Robot <gobot@golang.org>
Thu, 4 Jan 2024 20:45:19 +0000 (20:45 +0000)
commitead47b0ab39c5819aee207cda536531a8e44ddc7
treefd10b1d0edd32978fc8b2ccf673c2732af0d0879
parent1e07c144c3e43d95b0c21fdc73c520fe809d7f51
net/http: respond with 400 Bad Request for empty hex number of chunk length

Fixes #64517

Change-Id: I78b8a6a83301deee05c3ff052a6adcd1f965aef2
Reviewed-on: https://go-review.googlesource.com/c/go/+/553835
Auto-Submit: Damien Neil <dneil@google.com>
Commit-Queue: Damien Neil <dneil@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Damien Neil <dneil@google.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
src/net/http/internal/chunked.go
src/net/http/internal/chunked_test.go