aws-sdk-js icon indicating copy to clipboard operation
aws-sdk-js copied to clipboard

Request signing is broken again

Open syadykin opened this issue 12 years ago • 5 comments

See my note https://github.com/aws/aws-sdk-js/commit/84c5cc4d01717d22f5401e26011b4233054acb95#commitcomment-7766586

syadykin avatar Sep 12 '14 18:09 syadykin

Thanks for finding this-- we've identified the cause and are working on a fix very shortly.

lsegal avatar Sep 12 '14 18:09 lsegal

The «sort» function could be something like

function(a,b) {
    return a.split('=', 2)[0].localeCompare(b.split('=', 2)[0]);
}

syadykin avatar Sep 12 '14 19:09 syadykin

Thanks for the suggestion. Unfortunately String.prototype.localeCompare() is not supported in < IE 11.

Edit: Oops, I was reading the MDN documentation and it looks like according to MSDN docs it should work.

AdityaManohar avatar Sep 12 '14 20:09 AdityaManohar

I just pushed a release to fix the issue. Let me know if this fixes the issue for you and thanks for reporting!

AdityaManohar avatar Sep 12 '14 20:09 AdityaManohar

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.

lock[bot] avatar Sep 30 '19 02:09 lock[bot]