From 2f0e3542adcf7242f8a3401363752aab4cfa1961 Mon Sep 17 00:00:00 2001 From: Antonio Terceiro Date: Tue, 13 Aug 2013 00:39:25 +0200 Subject: Keep the maildir path instact So maildir:///path/to/maildir points to /path/to/maildir --- lib/feed2imap/config.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/feed2imap/config.rb b/lib/feed2imap/config.rb index fd4e94f..1f179a5 100644 --- a/lib/feed2imap/config.rb +++ b/lib/feed2imap/config.rb @@ -71,7 +71,6 @@ 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 -- cgit v1.2.3