]> Cypherpunks repositories - gostls13.git/commit
net/http: add CrossOriginProtection
authorFilippo Valsorda <filippo@golang.org>
Wed, 21 May 2025 13:35:51 +0000 (15:35 +0200)
committerGopher Robot <gobot@golang.org>
Wed, 21 May 2025 20:22:27 +0000 (13:22 -0700)
commit1881d680b0b573c32d3002c37902760668ffec0f
tree13d367ef8e07be1dc21f3ddf1e6132322f039349
parentef20ccc10bf6e4d3991c9e29c7fae1c9ab338629
net/http: add CrossOriginProtection

Fixes #73626

Change-Id: I6a6a4656862e7a38acb65c4815fb7a1e04896172
Reviewed-on: https://go-review.googlesource.com/c/go/+/674936
Reviewed-by: Damien Neil <dneil@google.com>
Auto-Submit: Filippo Valsorda <filippo@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: David Chase <drchase@google.com>
api/next/73626.txt [new file with mode: 0644]
doc/next/6-stdlib/99-minor/net/http/73626.md [new file with mode: 0644]
src/net/http/csrf.go [new file with mode: 0644]
src/net/http/csrf_test.go [new file with mode: 0644]