Hi everyone,
I’m currently working on customizing Open OnDemand by creating a menu item as specified in the documentation. However, I’m encountering an issue with the following error:
#<ActionController::Redirecting::UnsafeRedirectError: Unsafe redirect to "https://openondemand.org/", pass allow_other_host: true to redirect anyway.>
It seems that the application is trying to redirect to a URL that is not considered safe by default. I understand that I need to allow redirects to other hosts by setting the allow_other_host
option to true
, but I’m not sure where exactly to make this change.
Has anyone else faced this issue? Any guidance on how to resolve this would be greatly appreciated!
Thanks in advance for your help!