> On 27 Jun 2015, at 17:47, Walter Lee Davis <
wa...@wdstudio.com> wrote:
>
> I need to support these URLs forever, because they are in the database (CMS) already. When I hit them, I am either getting some odd JSON decode errors or the entire application never makes it out of rack (no log in console from Rails).
>
> The other difference I have seen between my legacy app and a simple test app I created is that all of the Dragonfly URLs seem to end in sha=asdfksdfd… and my existing URLs in the database do not have that. I have seen the `allow_legacy_urls true` configuration statement — is this enough to get around that, or is there any other way to make this optional?
>
The json errors make sense - the job definition used to be encoded using Marshal.dump but it is now dumped as json (and in both cases base64 encoded). The allow_legacy_urls setting controls whether dragonfly will try to fallback to marshal.load if json parsing fails.
The sha business is separate - it is a portion of a sha sum of the job definition and a secret you specify in the config - requests where the sha parameter doesn't match what is calculated are rejected. The setting controlling this is called something like protect_from_dos or something like that - I think the default changed from false to true in 1.0
There is also a document covering upgrading to 1.0 - either in the source or the GitHub wiki.
Fred
> Thanks in advance,
>
> Walter
>
> --
> You received this message because you are subscribed to the Google Groups "Dragonfly" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
dragonfly-use...@googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.