From 836c6429cc1db7212a5a391ea0a03326fc1edbd9 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 20 Dec 2012 15:43:14 -0400 Subject: handle sha*sum's leading \ in checksum with certian unsual filenames * Bugfix: Remove leading \ from checksums output by sha*sum commands, when the filename contains \ or a newline. Closes: #696384 * fsck: Still accept checksums with a leading \ as valid, now that above bug is fixed. * migrate: Remove leading \ in checksums --- Backend/WORM.hs | 1 + 1 file changed, 1 insertion(+) (limited to 'Backend/WORM.hs') diff --git a/Backend/WORM.hs b/Backend/WORM.hs index 523203713..3471eedc1 100644 --- a/Backend/WORM.hs +++ b/Backend/WORM.hs @@ -20,6 +20,7 @@ backend = Backend { name = "WORM" , getKey = keyValue , fsckKey = Nothing + , canUpgradeKey = Nothing } {- The key includes the file size, modification time, and the -- cgit v1.2.3