mirror of
https://github.com/hashicorp/vault.git
synced 2026-02-18 18:38:08 -05:00
* 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:
parent
fc2900b149
commit
85aa2c3dd0
3 changed files with 3 additions and 3 deletions
|
|
@ -1 +1 @@
|
|||
1.25.1
|
||||
1.25.2
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
```release-note:change
|
||||
core: Bump Go version to 1.25.1
|
||||
core: Bump Go version to 1.25.2
|
||||
```
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Reference in a new issue