Strange warning: issueReposQueryPattern not match with query #9091

Closed
opened 2025-11-02 08:29:02 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @wxiaoguang on GitHub (Jun 20, 2022).

Gitea 1.18-dev

2022/06/20 13:19:49 ...ers/web/user/home.go:221:Milestones() [W] [62b00375] issueReposQueryPattern not match with query
2022/06/20 13:19:49 [62b00375] router: completed GET /milestones?repos=[]&sort=&state=closed&q= for 1.2.3.4:0, 200 OK in 49.2ms @ user/home.go:154(user.Milestones)

repos=[] doesn't match the regex var issueReposQueryPattern = regexp.MustCompile(`^\[\d+(,\d+)*,?\]$`)

Originally created by @wxiaoguang on GitHub (Jun 20, 2022). Gitea 1.18-dev ``` 2022/06/20 13:19:49 ...ers/web/user/home.go:221:Milestones() [W] [62b00375] issueReposQueryPattern not match with query 2022/06/20 13:19:49 [62b00375] router: completed GET /milestones?repos=[]&sort=&state=closed&q= for 1.2.3.4:0, 200 OK in 49.2ms @ user/home.go:154(user.Milestones) ``` `repos=[]` doesn't match the regex ``var issueReposQueryPattern = regexp.MustCompile(`^\[\d+(,\d+)*,?\]$`)``
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#9091