Affected by GO-2025-4258
and 3 other vulnerabilities
GO-2025-4258: Gitea mishandles authorization for deletion of releases in code.gitea.io/gitea
GO-2025-4261: Gitea allows attackers to add attachments with forbidden file extensions in code.gitea.io/gitea
GO-2025-4267: Gitea doesn't adequately enforce branch deletion permissions after merging a pull request. in code.gitea.io/gitea
GO-2025-4268: Gitea mishandles access to a private resource upon receiving an API token with scope limited to public resources in code.gitea.io/gitea
package
Version:
v1.22.2
Opens a new window with list of versions in this module.
Published: Sep 5, 2024
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 2
Opens a new window with list of known importers.
Documentation
¶
type ErrWrongURLFormat struct {
URL string
}
ErrWrongURLFormat represents an error with wrong url format
GitURL represents a git URL
Parse parse all kinds of git URL
String returns the URL's string
Source Files
¶
Click to show internal directories.
Click to hide internal directories.