Subject: | Authorisation fails when posting 'wide' characters |
I have reported a bug in Net::Twitter::OAuth at
http://rt.cpan.org/Public/Bug/Display.html?id=46423
This appears to be a problem with Net::OAuth::Simple. When posting
fields with 'wide' characters in to Twitter, Twitter returns "Failed to
validate oauth signature or token".
Net::OAuth::Simple throws an exception:
post on
http://twitter.com/statuses/update.json?oauth_timestamp=1243456768&oauth_consumer_key=QZ2pIVQF2G6JllVkOFTPw&status=Another+test+status+4+%C3%A9%C2%A6%C2%96%C3%A9%C2%83%C2%BD%C3%A5%C2%9C%C2%8F&oauth_signature=QYLE3Zzml2ZYY77wMPgAHcBXM1w%3D&oauth_nonce=2610890340&oauth_token=42584122-14QBiEvv7kY0C1UYBAj3hW9sKXyAFEJGlXr3u66ib&oauth_version=1.0&oauth_signature_method=HMAC-SHA1
failed: 401 Unauthorized at
/usr/local/lib/perl5/site_perl/5.8.8/Net/OAuth/Simple.pm line 567
Perl v5.8.8 built for amd64-freebsd
Net::OAuth::Simple 1.1