1

Closed

Image.ChangeSettings() fails with 'invalid signature)

description

If the FileName contains a space, Image.ChangeSettings() fails with an 'invalid signature' error. Perhaps the fields (including FileName) are not properly Encoded? (version 1.3.0)
Closed May 27, 2013 at 4:04 AM by alexgh

comments

MikeJohnson123 wrote May 2, 2013 at 2:00 AM

This is fixed by changing public SMR ExecuteMethod<SMR>() function:
        var temp = JSONDotNET.Deserializer.Deserialize<SMR>(result);
to
        var temp = JSONDotNET.Deserializer.Deserialize<SMR>(System.Uri.UnescapeDataString(result));
This way all response strings contain the correct values (spaces instead of %20) and since the values are correct ChangeSettnigs() will work later on...

alexgh wrote May 27, 2013 at 3:44 AM

I have made the change.

Thanks you!

Alex

wrote May 27, 2013 at 4:04 AM

Resolved with changeset 83826: Fixes a couple of issues reported by users.