Affected by GO-2022-0308
and 6 other vulnerabilities
GO-2022-0308: Gitea displaying raw OpenID error in UI in github.com/go-gitea/gitea
GO-2022-0309: Cross Site Request Forgery in Gitea in github.com/go-gitea/gitea
GO-2022-0314: Cross-site Scripting in Gitea in github.com/go-gitea/gitea
GO-2022-0579: Open redirect in Gitea in github.com/go-gitea/gitea
GO-2022-0823: Gitea Exposes Private Email Addresses in github.com/go-gitea/gitea
GO-2022-0846: Gitea Remote Code Execution in github.com/go-gitea/gitea
GO-2022-0862: Gitea Improper Input Validation in github.com/go-gitea/gitea
package
Version:
v1.2.3
Opens a new window with list of versions in this module.
Published: Nov 3, 2017
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func Custom(opts *Options) macaron.Handler
Custom implements the macaron static handler for serving custom assets.
func Static(opts *Options) macaron.Handler
Static implements the macaron static handler for serving assets.
type Options struct {
Directory string
SkipLogging bool
}
Options represents the available options to configure the macaron handler.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.