[ARVADOS] updated: 1.1.1-243-g335b2d2

Git user git at public.curoverse.com
Wed Dec 13 16:19:00 EST 2017


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

       via  335b2d29f9953f6e7767223cb71d1d0f313c9043 (commit)
      from  e768a05df9fd75cee3724e6b68cb65beeebaaa38 (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 335b2d29f9953f6e7767223cb71d1d0f313c9043
Author: Peter Amstutz <pamstutz at veritasgenetics.com>
Date:   Wed Dec 13 16:17:43 2017 -0500

    Add Content-Type to Access-Control-Allow-Headers CORS headers refs #12060
    
    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 649aa2b..c94ce89 100644
--- a/services/api/app/controllers/application_controller.rb
+++ b/services/api/app/controllers/application_controller.rb
@@ -402,7 +402,7 @@ class ApplicationController < ActionController::Base
   def set_cors_headers
     response.headers['Access-Control-Allow-Origin'] = '*'
     response.headers['Access-Control-Allow-Methods'] = 'GET, HEAD, PUT, POST, DELETE'
-    response.headers['Access-Control-Allow-Headers'] = 'Authorization'
+    response.headers['Access-Control-Allow-Headers'] = 'Authorization, Content-Type'
     response.headers['Access-Control-Max-Age'] = '86486400'
   end
 

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list