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 | |
parent | e164673d4e07e9890e6f488bd28d99aa47b09770 (diff) |
importfeed: Fix handling of dots in extensions.
-rw-r--r-- | Command/ImportFeed.hs | 1 | ||||
-rw-r--r-- | debian/changelog | 1 |
2 files changed, 2 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 diff --git a/debian/changelog b/debian/changelog index c0224bd1c..8caac29ae 100644 --- a/debian/changelog +++ b/debian/changelog @@ -5,6 +5,7 @@ git-annex (4.20130803) UNRELEASED; urgency=low (Thanks, Adam Spiers, for getting the necessary support into git for this.) * importfeed: Ignores transient problems with feeds. Only exits nonzero when a feed has repeatedly had a problems for at least 1 day. + * importfeed: Fix handling of dots in extensions. -- Joey Hess <joeyh@debian.org> Fri, 02 Aug 2013 19:26:20 -0400 |