Skip Menu |

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

Report information
The Basics
Id: 70291
Status: resolved
Worked: 1 hour (60 min)
Priority: 0/
Queue: Net-Amazon-AWSSign

People
Owner: naton [...] cpan.org
Requestors: yz [...] pochta.ru
Cc:
AdminCc:

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



Subject: Invalid processing of messages with "&" inside
Date: Tue, 16 Aug 2011 08:48:26 +0300
To: bug-Net-Amazon-AWSSign [...] rt.cpan.org
From: Yuriy Zhilovets <yz [...] pochta.ru>
Version of the module: 0.09 Version of the Perl: 5.10 When signing messages with an ampersand sign "&" inside the module throws an error "Use of uninitialized value $a[1] in string at /usr/local/share/perl/5.10.1/Net/Amazon/AWSSign.pm line 78" This bug lies in the module AWSSign.pm:74, split with "&" is not correct. Here is needed some URI escaping before splitting.
Resolved in v0.10 and v0.11 (0.11 only adds to the documentation). You will need to pass the uri-escaped ampersand (or any other char) into the string. Example as in documentation to search for "Heckle & Jeckle": my $awsRESTURI="http://webservices.amazon.com/onca/xml? Service=AWSECommerceService&Operation=ItemSearch&SearchIndex=Books&Conditi on=All&Keywords=Heckle%26Jeckle"; This seemed the simplest and cleanest way to resolve this issue. Thanks for bringing it to my attention, and I hope this takes care of it. Thanks, --Nate