[ARVADOS] updated: 1.2.0-112-g269aba163
Git user
git at public.curoverse.com
Tue Oct 2 17:16:08 EDT 2018
Summary of changes:
services/api/app/controllers/application_controller.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
via 269aba16336d6e9dcf80239465cfcfb9a841a4a9 (commit)
from 4503336797b79519f8c480af39fb72538191038a (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 269aba16336d6e9dcf80239465cfcfb9a841a4a9
Author: Peter Amstutz <pamstutz at veritasgenetics.com>
Date: Tue Oct 2 17:14:59 2018 -0400
14196: Don't crash if element of params[:reader_tokens] is not a String
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <pamstutz at veritasgenetics.com>
diff --git a/services/api/app/controllers/application_controller.rb b/services/api/app/controllers/application_controller.rb
index 8b20c0c16..a0555d13d 100644
--- a/services/api/app/controllers/application_controller.rb
+++ b/services/api/app/controllers/application_controller.rb
@@ -346,7 +346,7 @@ class ApplicationController < ActionController::Base
if request.get? and params[:reader_tokens] and
params[:reader_tokens].size < 100
secrets = params[:reader_tokens].map { |t|
- if t.starts_with? "v2/"
+ if t.is_a? String and t.starts_with? "v2/"
t.split("/")[2]
else
t
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list