You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @reinink , first off thanks for this great library!
I've tried implementing the signature validation but am finding that for some requests it works fine, while others get a SignatureException error with the message Signature is not valid.. I've provided an example below. How can I debug this?
To be clear, the URLs for all these requests are being generated by my application using the URLBuilder and the same signature key, so they should all be valid. I can't discern any obvious pattern to which ones are passing and which are failing. Some of those failing have query string manipulation parameters (i.e. parameters other than s), some don't. I haven't yet seen any examples of images which are passing and have no manipulation params in the query string, though there may be some.
Could the fact that I am using defaults (fed into the ServerFactory) have any impact? If I've understood correctly, it shouldn't, since neither the URLBuilder nor the validation knows about them.
Example URI: /img/content_projects/ab682f3aeff7720c11c65a582de89ced.png?w=198&h=198&s=6aaa93dc4f54e9e02a6bd349652ab827
Error dump:
Hi @reinink , first off thanks for this great library!
I've tried implementing the signature validation but am finding that for some requests it works fine, while others get a
SignatureException
error with the messageSignature is not valid.
. I've provided an example below. How can I debug this?To be clear, the URLs for all these requests are being generated by my application using the
URLBuilder
and the same signature key, so they should all be valid. I can't discern any obvious pattern to which ones are passing and which are failing. Some of those failing have query string manipulation parameters (i.e. parameters other thans
), some don't. I haven't yet seen any examples of images which are passing and have no manipulation params in the query string, though there may be some.Could the fact that I am using defaults (fed into the
ServerFactory
) have any impact? If I've understood correctly, it shouldn't, since neither theURLBuilder
nor the validation knows about them.Example URI:
/img/content_projects/ab682f3aeff7720c11c65a582de89ced.png?w=198&h=198&s=6aaa93dc4f54e9e02a6bd349652ab827
Error dump:
The text was updated successfully, but these errors were encountered: