summaryrefslogtreecommitdiff
path: root/Command
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-08-03 02:36:38 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-08-03 02:36:38 -0400
commite63d8ef269fa8c89af5785fe4201fc43a82bcb7b (patch)
tree2fff0c47f747052b44bdc4088ea9df37ead83f4d /Command
parente164673d4e07e9890e6f488bd28d99aa47b09770 (diff)
importfeed: Fix handling of dots in extensions.
Diffstat (limited to 'Command')
-rw-r--r--Command/ImportFeed.hs1
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