Affected by GO-2025-3587
and 8 other vulnerabilities
GO-2025-3587 : Apache Answer User Using External Images Potentially Discloses User Information in github.com/apache/answer
GO-2026-4421 : Apache Answer Exposure of Private Personal Information to an Unauthorized Actor vulnerability in github.com/apache/answer
GO-2026-6147 : Apache Answer has an Improper Neutralization of Alternate XSS Syntax vulnerability in github.com/apache/answer
GO-2026-6148 : Apache Answer has an Exposure of Private Personal Information to an Unauthorized Actor vulnerability in github.com/apache/answer
GO-2026-6151 : Apache Answer vulnerable to Cross-site Scripting in github.com/apache/answer
GO-2026-6152 : Apache Answer has an Exposure of Sensitive Information to an Unauthorized Actor vulnerability in github.com/apache/answer
GO-2026-6153 : Apache Answer has an Unrestricted Upload of File with Dangerous Type vulnerability in github.com/apache/answer
GO-2026-6154 : Apache Answer has an Unrestricted Upload of File with Dangerous Type vulnerability in github.com/apache/answer
GO-2026-6249 : Apache Answer: AdminToken not invalidated after admin deactivation in github.com/apache/answer
Discover Packages
github.com/apache/answer
internal
service
siteinfo_common
package
Version:
v1.4.2
Opens a new window with list of versions in this module.
Published: Jan 13, 2025
License: Apache-2.0
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0 modules, 0 packages
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
Documentation
Documentation
¶
type SiteInfoCommonService interface {
GetSiteGeneral(ctx context .Context ) (resp *schema .SiteGeneralResp , err error )
GetSiteInterface(ctx context .Context ) (resp *schema .SiteInterfaceResp , err error )
GetSiteBranding(ctx context .Context ) (resp *schema .SiteBrandingResp , err error )
GetSiteUsers(ctx context .Context ) (resp *schema .SiteUsersResp , err error )
FormatAvatar(ctx context .Context , originalAvatarData, email string , userStatus int ) *schema .AvatarInfo
FormatListAvatar(ctx context .Context , userList []*entity .User ) (userID2AvatarMapping map[string ]*schema .AvatarInfo )
GetSiteWrite(ctx context .Context ) (resp *schema .SiteWriteResp , err error )
GetSiteLegal(ctx context .Context ) (resp *schema .SiteLegalResp , err error )
GetSiteLogin(ctx context .Context ) (resp *schema .SiteLoginResp , err error )
GetSiteCustomCssHTML(ctx context .Context ) (resp *schema .SiteCustomCssHTMLResp , err error )
GetSiteTheme(ctx context .Context ) (resp *schema .SiteThemeResp , err error )
GetSiteSeo(ctx context .Context ) (resp *schema .SiteSeoResp , err error )
GetSiteInfoByType(ctx context .Context , siteType string , resp interface{}) (err error )
}
NewSiteInfoCommonService new site info common service
Source Files
¶
Click to show internal directories.
Click to hide internal directories.