importfeed: Fix handling of dots in extensions.

This commit is contained in:
Joey Hess 2013-08-03 02:36:38 -04:00
parent 24c8a6042b
commit b28023cb52
2 changed files with 2 additions and 0 deletions

View file

@ -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

1
debian/changelog vendored
View file

@ -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