]> git.proxmox.com Git - pxar.git/commit
factor out file name validation, also forbid . and ..
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Mon, 8 Jun 2020 08:30:43 +0000 (10:30 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Mon, 8 Jun 2020 08:31:37 +0000 (10:31 +0200)
commitf3ac1c5125f0352d9f352176912edfee867a0fb4
tree8263d69942e8ba6d2ecdd41d626db8eed14f3093
parentbd99958c34a28453c7bac67ba7768a7501d8bceb
factor out file name validation, also forbid . and ..

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
src/accessor/mod.rs
src/decoder/mod.rs
src/encoder/mod.rs
src/util.rs