This project is read-only.


Image.ChangeSettings() fails with 'invalid signature)


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 5:04 AM by alexgh


MikeJohnson123 wrote May 2, 2013 at 3:00 AM

This is fixed by changing public SMR ExecuteMethod<SMR>() function:
        var temp = JSONDotNET.Deserializer.Deserialize<SMR>(result);
        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 4:44 AM

I have made the change.

Thanks you!


wrote May 27, 2013 at 5:04 AM

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