Skip Menu |

This queue is for tickets about the Net-YahooMessenger CPAN distribution.

Report information
The Basics
Id: 57615
Status: resolved
Priority: 0/
Queue: Net-YahooMessenger

People
Owner: Nobody in particular
Requestors: nep [...] noisetu.be
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.17
Fixed in: (no value)



Subject: _https_login needs to uri_escape the seed when fetching pwtoken
Apparently the seeds being handed out have changed, because as of today Net::YahooMessenger fails to authenticate with a "Bad request" error from WWW::Mechanize. This can be easily fixed by using URI::Escape::uri_escape to escape the seed in the URL that it constructs when fetching the pwtoken.
fix on Net/YahooMessenger/HTTPS.pm or under Windows in C:/Perl/site/lib/Net/YahooMessenger\HTTPS.pm open the file HTTPS.pm and add after use MD5; follow line: use URI::Escape; search: my $url = sprintf(YMSG_LOGIN_URL,$username,$password,$seed); replace it with this: my $url = sprintf(YMSG_LOGIN_URL,$username,$password,uri_escape($seed)); and the fix is finish.
Added your sugestion in 0.19. Thank you very much for your fix!