Skip to content

Commit

Permalink
Escape signature in Amazon::MWS::Routines::sign_request (patch by jor…
Browse files Browse the repository at this point in the history
…danmhiller, GH #15).
  • Loading branch information
racke committed Mar 17, 2018
1 parent 34e55a7 commit 412484c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Amazon/MWS/Routines.pm
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ sub sign_request {
if ($request->{_method} eq 'GET' || $request->{_content} ) {
$uri->query_form(\%params);
} else {
$request->{_content} = "$canonical&Signature=$params{Signature}";
$request->{_content} = "$canonical&Signature=" . uri_escape($params{Signature});
}
$request->uri($uri);
return $request;
Expand Down

0 comments on commit 412484c

Please sign in to comment.