Affected by GO-2024-2457
and 8 other vulnerabilities
GO-2024-2457: Apache Answer Race Condition vulnerability in github.com/apache/incubator-answer
GO-2024-2578: Apache Answer Cross-site Scripting vulnerability in github.com/apache/incubator-answer
GO-2024-2579: Apache Answer Unrestricted Upload of File with Dangerous Type vulnerability in github.com/apache/incubator-answer
GO-2024-2580: Apache Answer Race Condition vulnerability in github.com/apache/incubator-answer
GO-2024-2743: XSS vulnerability via personal website in github.com/apache/incubator-answer
GO-2024-3064: Apache Answer: The link to reset the user's password will remain valid after sending a new link in github.com/apache/incubator-answer
GO-2024-3065: Apache Answer: The link for resetting user password is not Single-Use in github.com/apache/incubator-answer
GO-2024-3158: Apache Answer: Avatar URL leaked user email addresses in github.com/apache/incubator-answer
GO-2024-3287: Apache Answer: Predictable Authorization Token Using UUIDv1 in github.com/apache/incubator-answer
package
Version:
v1.2.0-RC1
Opens a new window with list of versions in this module.
Published: Nov 15, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
RewriteConfig rewrite config file path
type AllConfig struct {
Debug bool `json:"debug" mapstructure:"debug" yaml:"debug"`
Server *Server `json:"server" mapstructure:"server" yaml:"server"`
Data *Data `json:"data" mapstructure:"data" yaml:"data"`
I18n *translator.I18n `json:"i18n" mapstructure:"i18n" yaml:"i18n"`
ServiceConfig *service_config.ServiceConfig `json:"service_config" mapstructure:"service_config" yaml:"service_config"`
Swaggerui *router.SwaggerConfig `json:"swaggerui" mapstructure:"swaggerui" yaml:"swaggerui"`
}
AllConfig all config
type Data struct {
Database *data.Database `json:"database" mapstructure:"database" yaml:"database"`
Cache *data.CacheConf `json:"cache" mapstructure:"cache" yaml:"cache"`
}
Data data config
type PathIgnore struct {
Users []string `yaml:"users"`
}
type Server struct {
HTTP *server.HTTP `json:"http" mapstructure:"http" yaml:"http"`
}
Server server config
Source Files
¶
Click to show internal directories.
Click to hide internal directories.