mirror of
https://github.com/go-gitea/gitea
synced 2025-07-03 09:07:19 +00:00
Made the issue stats query more secure with parameterized placeholders (#2895)
This commit is contained in:
@ -146,7 +146,7 @@ func Issues(ctx *context.Context) {
|
||||
issueStats := models.GetIssueStats(&models.IssueStatsOptions{
|
||||
RepoID: repo.ID,
|
||||
UserID: uid,
|
||||
LabelID: com.StrTo(selectLabels).MustInt64(),
|
||||
Labels: selectLabels,
|
||||
MilestoneID: milestoneID,
|
||||
AssigneeID: assigneeID,
|
||||
FilterMode: filterMode,
|
||||
|
Reference in New Issue
Block a user