Affected by GO-2026-4421
and 7 other vulnerabilities
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
revision
package
Version:
v1.7.1
Opens a new window with list of versions in this module.
Published: Dec 15, 2025
License: Apache-2.0
Opens a new window with license information.
Imports: 3
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 RevisionRepo interface {
AddRevision(ctx context .Context , revision *entity .Revision , autoUpdateRevisionID bool ) (err error )
GetRevisionByID(ctx context .Context , revisionID string ) (revision *entity .Revision , exist bool , err error )
GetLastRevisionByObjectID(ctx context .Context , objectID string ) (revision *entity .Revision , exist bool , err error )
GetLastRevisionByFileURL(ctx context .Context , fileURL string ) (revision *entity .Revision , exist bool , err error )
GetRevisionList(ctx context .Context , revision *entity .Revision ) (revisionList []entity .Revision , err error )
UpdateObjectRevisionId(ctx context .Context , revision *entity .Revision , session *xorm .Session ) (err error )
ExistUnreviewedByObjectID(ctx context .Context , objectID string ) (revision *entity .Revision , exist bool , err error )
GetUnreviewedRevisionPage(ctx context .Context , page, pageSize int , objectTypes []int ) ([]*entity .Revision , int64 , error )
CountUnreviewedRevision(ctx context .Context , objectTypeList []int ) (count int64 , err error )
UpdateStatus(ctx context .Context , id string , status int , reviewUserID string ) (err error )
}
RevisionRepo revision repository
Source Files
¶
Click to show internal directories.
Click to hide internal directories.