validInExtension :: Word8 -> Bool
validInExtension c
| isAlphaNum (chr (fromIntegral c)) = True
- | c <= 127 = False -- other ascii, spaces, punctuation, control chars
+ | fromIntegral c == ord '.' = True
+ | c <= 127 = False -- other ascii: spaces, punctuation, control chars
| otherwise = True -- utf8 is allowed, also other encodings
{- Upgrade keys that have the \ prefix on their hash due to a bug, or
* webdav: Made exporttree remotes faster by caching connection to the
server.
+ * fsck: Fix reversion in 8.20200226 that made it incorrectly warn
+ that hashed keys with an extension should be upgraded.
* Fix a minor bug that caused options provided with -c to be passed
multiple times to git.