[ARVADOS] updated: 294aaf25b9c2088a20df74d41ced9dc907463d48

Git user git at public.curoverse.com
Fri May 13 15:45:11 EDT 2016


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

       via  294aaf25b9c2088a20df74d41ced9dc907463d48 (commit)
      from  4c4387de5857ef00899fcb760a7cfc5ad4b76268 (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 294aaf25b9c2088a20df74d41ced9dc907463d48
Author: Tom Clegg <tom at curoverse.com>
Date:   Fri May 13 15:38:51 2016 -0400

    Accept auth tokens with uppercase letters.
    
    No issue #

diff --git a/services/api/app/middlewares/arvados_api_token.rb b/services/api/app/middlewares/arvados_api_token.rb
index 57d3ad0..d8c04a1 100644
--- a/services/api/app/middlewares/arvados_api_token.rb
+++ b/services/api/app/middlewares/arvados_api_token.rb
@@ -31,7 +31,7 @@ class ArvadosApiToken
     supplied_token =
       params["api_token"] ||
       params["oauth_token"] ||
-      env["HTTP_AUTHORIZATION"].andand.match(/OAuth2 ([a-z0-9]+)/).andand[1]
+      env["HTTP_AUTHORIZATION"].andand.match(/OAuth2 ([a-zA-Z0-9]+)/).andand[1]
     if supplied_token
       api_client_auth = ApiClientAuthorization.
         includes(:api_client, :user).

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list