From 1b8d669706fb952f0e5d1ad5e407073f4815907f Mon Sep 17 00:00:00 2001 From: Tom Clegg Date: Fri, 30 Jun 2017 14:34:21 -0400 Subject: [PATCH] 8784: Add token to path (not query string) in download links. Arvados-DCO-1.1-Signed-off-by: Tom Clegg --- apps/workbench/app/controllers/collections_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/workbench/app/controllers/collections_controller.rb b/apps/workbench/app/controllers/collections_controller.rb index 3752bec7be..625a6a8f61 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 -- 2.30.2