]> git.proxmox.com Git - pve-container.git/commit
use sanitize_mountpoint in foreach_mountpoint
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Thu, 17 Sep 2015 11:06:58 +0000 (13:06 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 17 Sep 2015 11:22:32 +0000 (13:22 +0200)
commit3c9dbfa9d2168eb5def47f680e79079bbd220de9
treef4b47225d759ba5e831542d027be4a8d40595ef9
parente59a61edb92e03c00d8aa30f3e7bd9711b901046
use sanitize_mountpoint in foreach_mountpoint

This is for consistency as well as it's a minor security
improvement.

If the source is a path we also want to sanitize it in order
to not get broken behavior when using paths like
/dev/../something etc.
src/PVE/LXC.pm
src/PVE/VZDump/LXC.pm