summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/feed2imap/config.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/feed2imap/config.rb b/lib/feed2imap/config.rb
index 1f179a5..fd4e94f 100644
--- a/lib/feed2imap/config.rb
+++ b/lib/feed2imap/config.rb
@@ -71,6 +71,7 @@ class F2IConfig
if f['disable'].nil?
uri = URI::parse(f['target'].to_s)
path = URI::unescape(uri.path)
+ path = path[1..-1] if path[0,1] == '/'
if uri.scheme == 'maildir'
@feeds.push(ConfigFeed::new(f, maildir_account, path, self))
else