Didn't change anything to my server or code but since 5 days I'm getting this error (only with hotmail.)
Tried to update the gem to 1.2.26 : it didn't change anything.
@contacts = (site.new('login', 'password').contacts) || []
it seems the problem come from here (don't know exactly which line since my debugguer is giving me some problems :s ):
def real_connect
(...)
data, resp, cookies, forward = get(URL)
old_url = URL
until forward.nil?
data, resp, cookies, forward, old_url = get(forward, cookies, old_url) + [forward]
end
postdata = "PPSX=%s&PwdPad=%s&login=%s&passwd=%s&LoginOptions=2&PPFT=%s" % [
CGI.escape(data.split("><").grep(/PPSX/).first[/=\S+$/][2..-3]),
PWDPAD[0...([email protected])],
CGI.escape(login),
CGI.escape(password),
CGI.escape(data.split("><").grep(/PPFT/).first[/=\S+$/][2..-3])
]