[ARVADOS] updated: 1b8d669706fb952f0e5d1ad5e407073f4815907f

Git user git at public.curoverse.com
Fri Jun 30 14:36:54 EDT 2017


Summary of changes:
 apps/workbench/app/controllers/collections_controller.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

       via  1b8d669706fb952f0e5d1ad5e407073f4815907f (commit)
      from  ff723f5f08e286df4c4c58a27a9db574ca604a6f (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 1b8d669706fb952f0e5d1ad5e407073f4815907f
Author: Tom Clegg <tom at curoverse.com>
Date:   Fri Jun 30 14:34:21 2017 -0400

    8784: Add token to path (not query string) in download links.
    
    Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom at curoverse.com>

diff --git a/apps/workbench/app/controllers/collections_controller.rb b/apps/workbench/app/controllers/collections_controller.rb
index 3752bec..625a6a8 100644
--- a/apps/workbench/app/controllers/collections_controller.rb
+++ b/apps/workbench/app/controllers/collections_controller.rb
@@ -285,7 +285,7 @@ class CollectionsController < ApplicationController
   def download_link
     token = @search_sharing.first.api_token
     if Rails.configuration.keep_web_url || Rails.configuration.keep_web_download_url
-      keep_web_url(@object.uuid, nil, {query_token: token})
+      keep_web_url(@object.uuid, nil, {path_token: token})
     else
       collections_url + "/download/#{@object.uuid}/#{token}/"
     end

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list