Make submission ids lower case

This commit is contained in:
Gregor Kleen 2018-06-28 09:09:11 +02:00
parent 2a33895d69
commit b6772a175b

View File

@ -39,7 +39,7 @@ instance PathPiece UUID where
instance (CI.FoldCase s, PathPiece s) => PathPiece (CI s) where
fromPathPiece = fmap CI.mk . fromPathPiece
toPathPiece = toPathPiece . CI.original
toPathPiece = toPathPiece . CI.foldedCase
instance {-# OVERLAPS #-} PathMultiPiece FilePath where
fromPathMultiPiece = Just . unpack . intercalate "/"
@ -47,7 +47,7 @@ instance {-# OVERLAPS #-} PathMultiPiece FilePath where
instance (CI.FoldCase s, PathMultiPiece s) => PathMultiPiece (CI s) where
fromPathMultiPiece = fmap CI.mk . fromPathMultiPiece
toPathMultiPiece = toPathMultiPiece . CI.original
toPathMultiPiece = toPathMultiPiece . CI.foldedCase
-- Generates CryptoUUID... and CryptoFileName... Datatypes