forgejo/routers/web
Zettat123 907c97aabb
Fix status_check_contexts matching bug (#28582)
Fix #28570
Follow #24633

---
Copied from
https://github.com/go-gitea/gitea/issues/28570#issuecomment-1867327999

The feature introduced in #24633 should be compatible with
`status_check_contexts`. However, if one or more of
`status_check_contexts` is not a legal glob expressions, `glob.Compile`
will fail and the contexts cannot match.


21229ed2c8/routers/web/repo/pull.go (L653-L663)
2023-12-22 13:29:50 +00:00
..
admin
auth Always enable caches (#28527) 2023-12-19 09:29:05 +00:00
devtest
events
explore
feed
healthcheck Always enable caches (#28527) 2023-12-19 09:29:05 +00:00
misc
org
repo Fix status_check_contexts matching bug (#28582) 2023-12-22 13:29:50 +00:00
shared
user Always enable caches (#28527) 2023-12-19 09:29:05 +00:00
base.go
githttp.go
goget.go
home.go
metrics.go
nodeinfo.go
swagger_json.go
web.go Fix 405 method not allowed CORS / OIDC (#28583) 2023-12-22 12:23:24 +00:00
webfinger.go