]> arthur.barton.de Git - bup.git/commit
save-cmd.py: disallow backup set names containing "/".
authorRob Browning <rlb@defaultvalue.org>
Mon, 27 Jan 2014 20:51:47 +0000 (14:51 -0600)
committerRob Browning <rlb@defaultvalue.org>
Mon, 27 Jan 2014 21:03:40 +0000 (15:03 -0600)
commit52a98179490c6ccb990e221bbdeb511f1de59de4
treef15b77b5f1eccff83564df23510a2f5ce2fdd930
parent4cb60075b4f480958358cbad68660ac976e24617
save-cmd.py: disallow backup set names containing "/".

There's no way to refer to them via the VFS, because the VFS (as
expected) treats all forward slashes as path separators.

Before this change, it was possible to create backup sets with names
like "x/y/z" that were inaccessible via ls, restore, etc.

Thanks to Laura Morrissey <laura.morrissey@gmail.com> for the report.

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
cmd/save-cmd.py