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
This commit is contained in:
parent
071adb0709
commit
e71f85645e
6 changed files with 36 additions and 6 deletions
|
@ -16,6 +16,7 @@ data BackendA a = Backend
|
|||
{ name :: String
|
||||
, getKey :: KeySource -> a (Maybe Key)
|
||||
, fsckKey :: Maybe (Key -> FilePath -> a Bool)
|
||||
, canUpgradeKey :: Maybe (Key -> Bool)
|
||||
}
|
||||
|
||||
instance Show (BackendA a) where
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue