aboutsummaryrefslogtreecommitdiff
path: root/internal/accept_encoding.go
diff options
context:
space:
mode:
authorXe Iaso <me@xeiaso.net>2024-01-28 13:06:47 -0500
committerXe Iaso <me@xeiaso.net>2024-01-28 13:24:36 -0500
commit57bd9082dd4f01fab353db4485819a2f87416245 (patch)
tree325d711b53edb22e285162f1a7560182b0f3e26a /internal/accept_encoding.go
parenta16146721f79e3ae30f59ed6515bbbf3ccb8dbcf (diff)
downloadxesite-57bd9082dd4f01fab353db4485819a2f87416245.tar.xz
xesite-57bd9082dd4f01fab353db4485819a2f87416245.zip
internal/lume: don't capture metrics for paths that don't open
This fixes an issue where an attacker could create infinite cardinality in my prometheus server by sending a bunch of bogus GET requests. Metrics are only tracked for paths that make sense. Signed-off-by: Xe Iaso <me@xeiaso.net>
Diffstat (limited to 'internal/accept_encoding.go')
0 files changed, 0 insertions, 0 deletions