]> git.proxmox.com Git - pmg-api.git/commit
check if img tag has actually a 'src' attribute
authorDominik Csapak <d.csapak@proxmox.com>
Wed, 4 Mar 2020 08:42:34 +0000 (09:42 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 9 Mar 2020 11:04:58 +0000 (12:04 +0100)
commit841e05f544b4014f8b548f5b7a9cdc7774b51b2a
tree9eb564b58e4c74d6ce0ca8e6e98470a5900f80ae
parente278c757fa1424b55c6f0b2c95160a91abcedc2a
check if img tag has actually a 'src' attribute

otherwise the journal gets flooded with

  Use of uninitialized value in pattern match (m//) [...]

when the user opens a preview which contains img tags without src attribute

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
src/PMG/HTMLMail.pm