diff options
author | lnu <lnu@f70e237a-67f3-0310-a06c-d2b8a7116972> | 2005-08-25 16:13:13 +0000 |
---|---|---|
committer | lnu <lnu@f70e237a-67f3-0310-a06c-d2b8a7116972> | 2005-08-25 16:13:13 +0000 |
commit | 34963a00abbd92d4fec6d062fd9e9239996e41a3 (patch) | |
tree | 5a7bd354eb15e94e49347c14b9be2dd7f1b1cf6a /lib/feed2imap/imap.rb | |
parent | b9d35dc1143395935c8da9b4de87cabde1935c37 (diff) | |
download | feed2imap-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.rb | 2 |
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 |