summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorlnu <lnu@f70e237a-67f3-0310-a06c-d2b8a7116972>2005-08-25 16:13:13 +0000
committerlnu <lnu@f70e237a-67f3-0310-a06c-d2b8a7116972>2005-08-25 16:13:13 +0000
commit34963a00abbd92d4fec6d062fd9e9239996e41a3 (patch)
tree5a7bd354eb15e94e49347c14b9be2dd7f1b1cf6a /lib
parentb9d35dc1143395935c8da9b4de87cabde1935c37 (diff)
downloadfeed2imap-34963a00abbd92d4fec6d062fd9e9239996e41a3.tar.gz
feed2imap-34963a00abbd92d4fec6d062fd9e9239996e41a3.tar.bz2
feed2imap-34963a00abbd92d4fec6d062fd9e9239996e41a3.zip
reserved chars are unescaped
git-svn-id: svn+ssh://svn.gna.org/svn/feed2imap/trunk/feed2imap@55 f70e237a-67f3-0310-a06c-d2b8a7116972
Diffstat (limited to '')
-rw-r--r--lib/feed2imap/imap.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/feed2imap/imap.rb b/lib/feed2imap/imap.rb
index 5317eb9..dca2ed4 100644
--- a/lib/feed2imap/imap.rb
+++ b/lib/feed2imap/imap.rb
@@ -70,7 +70,7 @@ class ImapAccount
# use given port if port given
port = uri.port if uri.port
@connection = Net::IMAP::new(uri.host, port, usessl)
- user, password = uri.userinfo.split(':',2)
+ user, password = URI::unescape(uri.userinfo).split(':',2)
@connection.login(user, password)
self
end