diff options
author | Joey Hess <joey@kitenet.net> | 2013-08-03 02:36:38 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-08-03 02:36:38 -0400 |
commit | e63d8ef269fa8c89af5785fe4201fc43a82bcb7b (patch) | |
tree | 2fff0c47f747052b44bdc4088ea9df37ead83f4d /Command | |
parent | e164673d4e07e9890e6f488bd28d99aa47b09770 (diff) |
importfeed: Fix handling of dots in extensions.
Diffstat (limited to 'Command')
-rw-r--r-- | Command/ImportFeed.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Command/ImportFeed.hs b/Command/ImportFeed.hs index 9d81c5a60..5ad568647 100644 --- a/Command/ImportFeed.hs +++ b/Command/ImportFeed.hs @@ -182,6 +182,7 @@ feedFile tmpl i = Utility.Format.format tmpl $ M.fromList fieldMaybe k (Just v) = field k v sanitize c + | c == '.' = c | isSpace c || isPunctuation c || c == '/' = '_' | otherwise = c |