go: bump .go-version to 1.25.2 on main (#9986) (#9991)

* go: bump .go-version to 1.25.2
* go: handle changes to net/url parsing enforcement in Go 1.25.2

    The fixes for CVE-2025-47912 (https://go.dev/issue/75678) change
    behavior when parsing invalid IPv4 addresses. Update the test to
    for these changes.

Signed-off-by: Ryan Cragun <me@ryan.ec>
Co-authored-by: Ryan Cragun <me@ryan.ec>
This commit is contained in:
Vault Automation 2025-10-08 14:19:16 -04:00 committed by GitHub
parent fc2900b149
commit 85aa2c3dd0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View file

@ -1 +1 @@
1.25.1
1.25.2

View file

@ -1,3 +1,3 @@
```release-note:change
core: Bump Go version to 1.25.1
core: Bump Go version to 1.25.2
```

View file

@ -70,7 +70,7 @@ func TestNormalizeAddr(t *testing.T) {
},
"ipv4 invalid URL": {
addr: "https://[10.10.1.10]:8200",
expected: "https://10.10.1.10:8200",
expected: "https://[10.10.1.10]:8200",
},
"ipv4 destination address": {
addr: "username@10.10.1.10",