[arvados] updated: 2.7.0-5096-g680b25f82f

git repository hosting git at public.arvados.org
Fri Oct 27 15:51:22 UTC 2023


Summary of changes:
 services/api/app/controllers/static_controller.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

       via  680b25f82fce487c636e841a4a3d83379e5a4264 (commit)
      from  3f3686330be2141f0cacc511eabac15cc8449e7c (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 680b25f82fce487c636e841a4a3d83379e5a4264
Author: Tom Clegg <tom at curii.com>
Date:   Fri Oct 27 11:50:49 2023 -0400

    Fix redirect.
    
    refs #20300
    
    Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom at curii.com>

diff --git a/services/api/app/controllers/static_controller.rb b/services/api/app/controllers/static_controller.rb
index 4b2b985e02..b7693f3420 100644
--- a/services/api/app/controllers/static_controller.rb
+++ b/services/api/app/controllers/static_controller.rb
@@ -13,7 +13,7 @@ class StaticController < ApplicationController
     respond_to do |f|
       f.html do
         if !Rails.configuration.Services.Workbench1.ExternalURL.to_s.empty?
-          redirect_to Rails.configuration.Services.Workbench1.ExternalURL.to_s
+          redirect_to Rails.configuration.Services.Workbench1.ExternalURL.to_s, allow_other_host: true
         else
           render_not_found "Oops, this is an API endpoint. You probably want to point your browser to an Arvados Workbench site instead."
         end

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list