Folder names must not end in dots (bug 600)
commit930461bc658c9a7b8360dcc92667ff9b8ca256a9
authorThomas Perl <thp@thpinfo.com>
Sat, 12 Dec 2009 13:23:51 +0000 (12 14:23 +0100)
committerThomas Perl <thp@thpinfo.com>
Sat, 12 Dec 2009 13:28:18 +0000 (12 14:28 +0100)
tree4732bc3e3c5239b7f60c0902aface271c09ee82b
parentbd2beaeaab4570bd19a2b729ffb88dbf4b330589
Folder names must not end in dots (bug 600)

On Windows, a folder name like "Abc..." is
saved as "Abc", and trying to create such a
folder name works, but the trailing dots are
removed. When trying to download files to such
a folder (while gPodder still believes the
folder has dots at the end), this won't work.

To fix this bug, don't allow trailing dots in
the folder name of podcasts by stripping them.

Thanks to Yves for reporting this bug.
src/gpodder/model.py