[build] internal/https: delete copy of http.CrossOriginProtection

0 views
Skip to first unread message

Gopher Robot (Gerrit)

unread,
Feb 12, 2026, 10:50:51 AM (20 hours ago) Feb 12
to Dmitri Shuralyov, goph...@pubsubhelper.golang.org, golang-...@googlegroups.com, Dmitri Shuralyov, Carlos Amedee, Go LUCI, golang-co...@googlegroups.com

Gopher Robot submitted the change

Change information

Commit message:
internal/https: delete copy of http.CrossOriginProtection

Now that the x/build module requires Go 1.25.0, it's viable to always
use CrossOriginProtection from the standard library instead of a copy
of it.

For golang/go#75899.
Change-Id: I13d45dbb5593e45ece31a7987801d112623f1779
Reviewed-by: Dmitri Shuralyov <dmit...@google.com>
Auto-Submit: Dmitri Shuralyov <dmit...@golang.org>
Reviewed-by: Carlos Amedee <car...@golang.org>
Files:
  • D internal/https/csrf_go124.go
  • D internal/https/csrf_go125.go
  • M internal/https/https.go
Change size: M
Delta: 3 files changed, 2 insertions(+), 236 deletions(-)
Branch: refs/heads/master
Submit Requirements:
  • requirement satisfiedCode-Review: +2 by Carlos Amedee, +1 by Dmitri Shuralyov
  • requirement satisfiedTryBots-Pass: LUCI-TryBot-Result+1 by Go LUCI
Open in Gerrit
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: merged
Gerrit-Project: build
Gerrit-Branch: master
Gerrit-Change-Id: I13d45dbb5593e45ece31a7987801d112623f1779
Gerrit-Change-Number: 744780
Gerrit-PatchSet: 2
Gerrit-Owner: Dmitri Shuralyov <dmit...@golang.org>
Gerrit-Reviewer: Carlos Amedee <car...@golang.org>
Gerrit-Reviewer: Dmitri Shuralyov <dmit...@golang.org>
Gerrit-Reviewer: Dmitri Shuralyov <dmit...@google.com>
Gerrit-Reviewer: Gopher Robot <go...@golang.org>
open
diffy
satisfied_requirement
Reply all
Reply to author
Forward
0 new messages