- Running bazel-remove with
--enable_endpoint_metrics and some auth, e.g. --htpasswd_file, but without --allow_unauthenticated_reads.
curl http://localhost:9090/status succeeds, while it should've fail 401.
Cause:
|
statusHandler = middlewarestd.Handler("status", metricsMdlw, http.HandlerFunc(h.StatusPageHandler)).ServeHTTP |
overwrites previous auth-protected
statusHandler
Will send MR shortly.
--enable_endpoint_metricsand some auth, e.g.--htpasswd_file, but without--allow_unauthenticated_reads.curl http://localhost:9090/statussucceeds, while it should've fail 401.Cause:
bazel-remote/main.go
Line 324 in a69b6b5
statusHandlerWill send MR shortly.