miniflux-v2/http
Frédéric Guillot b46b5dfb2a Use r.RemoteAddr to check /metrics endpoint network access
HTTP headers like X-Forwarded-For or X-Real-Ip can be easily spoofed. As
such, it cannot be used to test if the client IP is allowed.

The recommendation is to use HTTP Basic authentication to protect the
metrics endpoint, or run Miniflux behind a trusted reverse-proxy.
2023-03-11 20:53:12 -08:00
..
client Fix some linter issues 2022-08-08 22:06:38 -07:00
cookie Fix some linter issues 2022-08-08 22:06:38 -07:00
request Use r.RemoteAddr to check /metrics endpoint network access 2023-03-11 20:53:12 -08:00
response Proxy support for several media types 2023-02-25 15:57:59 -08:00
route Fix some linter issues 2022-08-08 22:06:38 -07:00