summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonio Terceiro <terceiro@softwarelivre.org>2013-08-25 19:13:24 -0300
committerAntonio Terceiro <terceiro@softwarelivre.org>2013-08-25 19:13:24 -0300
commitfe8a2a976da302d07e0c07f9cdb275a0800bf5dc (patch)
tree0c488e048f3f270a5db89dfdf352274dca8ae2b0
parent046cc37e7cd01dd583ca6f7328365185a78c5cb2 (diff)
downloadfeed2imap-fe8a2a976da302d07e0c07f9cdb275a0800bf5dc.tar.gz
feed2imap-fe8a2a976da302d07e0c07f9cdb275a0800bf5dc.tar.bz2
feed2imap-fe8a2a976da302d07e0c07f9cdb275a0800bf5dc.zip
Revert "Keep the maildir path instact"
This reverts commit 2f0e3542adcf7242f8a3401363752aab4cfa1961.
-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