]> git.proxmox.com Git - pve-common.git/commit
sendmail: use more complete email regex and shellquote
authorFabian Ebner <f.ebner@proxmox.com>
Mon, 15 Feb 2021 12:24:55 +0000 (13:24 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 18 Feb 2021 11:49:12 +0000 (12:49 +0100)
commit4c4bd1047c7ff96a5eec4ed5ea4f3337b750a3e6
tree1715019d914c4eec67a5a55558c885b5bed87b1a
parentaf640684dcaeed2abc9badddcd0d238593c338a5
sendmail: use more complete email regex and shellquote

Shellquote is needed for '~', and while it doesn't help with '-',
there should be no problem, because options are separated from mailto
since commit 216a3f4f131693dc4bbad5e06e96a61baef5f5e9.

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
Reviewed-By: Dominik Csapak <d.csapak@proxmox.com>
src/PVE/JSONSchema.pm
src/PVE/Tools.pm