]> git.proxmox.com Git - pve-guest-common.git/commit
vzdump: mailto: use email-or-username-list format
authorFabian Ebner <f.ebner@proxmox.com>
Mon, 15 Feb 2021 12:24:59 +0000 (13:24 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 19 Feb 2021 15:29:58 +0000 (16:29 +0100)
commit17b5185b77cadd58c0c60c48aa78db43c3bf2e7f
tree857efc35afe5953cb2c07f07c0707136021e31c6
parent7a9b527f54d38c1ac1776f08aa619f4f3f4588a3
vzdump: mailto: use email-or-username-list format

because it is a more complete pattern. Also, 'mailto' was a '-list' format in
PVE 6.2 and earlier, so this also fixes whitespace-related backwards
compatibility. In particular, this fixes creating a backup job in the GUI
without setting an address, which passes along ''.

For example,
> vzdump 153 --mailto " ,,,admin@proxmox.com;;; developer@proxmox.com , ; "
was valid and worked in PVE 6.2.

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
PVE/VZDump/Common.pm