mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2026-05-17 08:36:55 +03:00
'authKey' is well-known url and form param for VictoriaMetrics components authorization. Previously, it could be printed into stdout via httpserver error logger. It makes this authKey insecure and hard to use. This commit prevents from logging authKey defined at PostForm or as part of url.Query. It's recommneded to transfer authKey via PostForm and it should be implemented at separate PRs. Related issue: https://github.com/VictoriaMetrics/VictoriaMetrics/issues/5973 --------- Signed-off-by: f41gh7 <nik@victoriametrics.com>