mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2026-07-24 17:49:42 +03:00
Fixes a small but real gotcha in `vmctl`. If `--vm-extra-label` contains special chars in the value, for example `team=a&b`, vmctl builds this kind of URL: ``` /api/v1/import?extra_label=team=a&b ``` so `&` splits the query, and the label gets mangled. The commit URL-encodes each `extra_label` value before building the import URL. Plain labels keep the same meaning, special chars round-trip fine now. PR https://github.com/VictoriaMetrics/VictoriaMetrics/pull/11144 --------- Co-authored-by: Max Kotliar <mkotlyar@victoriametrics.com>