mirror of
https://github.com/go-gitea/gitea.git
synced 2025-10-16 21:30:00 +02:00
Upgrade to go 1.25.3 (#35656)
This commit is contained in:
parent
9ae2e9e76f
commit
1bdb0b71b1
2
go.mod
2
go.mod
@ -1,6 +1,6 @@
|
|||||||
module code.gitea.io/gitea
|
module code.gitea.io/gitea
|
||||||
|
|
||||||
go 1.25.1
|
go 1.25.3
|
||||||
|
|
||||||
// rfc5280 said: "The serial number is an integer assigned by the CA to each certificate."
|
// rfc5280 said: "The serial number is an integer assigned by the CA to each certificate."
|
||||||
// But some CAs use negative serial number, just relax the check. related:
|
// But some CAs use negative serial number, just relax the check. related:
|
||||||
|
@ -34,12 +34,12 @@ func TestParseGitURLs(t *testing.T) {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
kase: "git@[fe80:14fc:cec5:c174:d88%2510]:go-gitea/gitea.git",
|
kase: "git@[fe80::14fc:cec5:c174:d88%2510]:go-gitea/gitea.git",
|
||||||
expected: &GitURL{
|
expected: &GitURL{
|
||||||
URL: &url.URL{
|
URL: &url.URL{
|
||||||
Scheme: "ssh",
|
Scheme: "ssh",
|
||||||
User: url.User("git"),
|
User: url.User("git"),
|
||||||
Host: "[fe80:14fc:cec5:c174:d88%10]",
|
Host: "[fe80::14fc:cec5:c174:d88%10]",
|
||||||
Path: "go-gitea/gitea.git",
|
Path: "go-gitea/gitea.git",
|
||||||
},
|
},
|
||||||
extraMark: 1,
|
extraMark: 1,
|
||||||
@ -137,11 +137,11 @@ func TestParseGitURLs(t *testing.T) {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
kase: "https://[fe80:14fc:cec5:c174:d88%2510]:20/go-gitea/gitea.git",
|
kase: "https://[fe80::14fc:cec5:c174:d88%2510]:20/go-gitea/gitea.git",
|
||||||
expected: &GitURL{
|
expected: &GitURL{
|
||||||
URL: &url.URL{
|
URL: &url.URL{
|
||||||
Scheme: "https",
|
Scheme: "https",
|
||||||
Host: "[fe80:14fc:cec5:c174:d88%10]:20",
|
Host: "[fe80::14fc:cec5:c174:d88%10]:20",
|
||||||
Path: "/go-gitea/gitea.git",
|
Path: "/go-gitea/gitea.git",
|
||||||
},
|
},
|
||||||
extraMark: 0,
|
extraMark: 0,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user