Merge branch 'main' into v2
* main: feat(stdiscosrv): configurable desired not-found rate chore(blobs): generalised blob storage chore(stdiscosrv): path style s3 feat(ursv): add os/arch/distribution metric chore(strelaypoolsrv): limit number of returned relays build(infra): run in Docker environment for pushes chore(stupgrades): expose latest release as a metric feat(api, gui): allow authentication bypass for metrics (#10045)
This commit is contained in:
+1
-1
@@ -78,7 +78,7 @@ func (m *csrfManager) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
||||
return
|
||||
}
|
||||
|
||||
if isNoAuthPath(r.URL.Path) {
|
||||
if isNoAuthPath(r.URL.Path, false) {
|
||||
// REST calls that don't require authentication also do not
|
||||
// need a CSRF token.
|
||||
m.next.ServeHTTP(w, r)
|
||||
|
||||
Reference in New Issue
Block a user