Skip to content

putItem() yields invalid signature when character '!' is present in value #12

@arturadib

Description

@arturadib

The following code makes Amazon respond with HTTP 403 and error code "SignatureDoesNotMatch":

var simpledb = require('simpledb');

sdb = new simpledb.SimpleDB({keyid:'...', secret:'...'});
sdb.putItem('test', 'item01', {my_key:'this character will break the request: !'}, function(err){
  if (err) throw err.Message;
});

When I remove the exclamation mark from the item no error is returned.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions