whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From curc...@apache.org
Subject [whimsy] branch master updated: Can sometimes show secret testing locally
Date Fri, 26 Apr 2019 13:11:01 GMT
This is an automated email from the ASF dual-hosted git repository.

curcuru pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/master by this push:
     new 25754cf  Can sometimes show secret testing locally
     new 07e8828  Merge branch 'master' of https://github.com/apache/whimsy
25754cf is described below

commit 25754cf67fa8f28e6fbba6cb58f19e8c7db54f4c
Author: Shane Curcuru <asf@shanecurcuru.org>
AuthorDate: Fri Apr 26 09:04:01 2019 -0400

    Can sometimes show secret testing locally
---
 www/racktest/config.ru | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/www/racktest/config.ru b/www/racktest/config.ru
index 900ef0f..463fbfb 100644
--- a/www/racktest/config.ru
+++ b/www/racktest/config.ru
@@ -4,6 +4,7 @@ run lambda {|env|
   env = env.to_a.sort.to_h
   env.delete('PASSENGER_CONNECT_PASSWORD')
   env.delete('SECRET_KEY_BASE')
-
+  env.delete('HTTP_AUTHORIZATION')
+  
   [ 200, {'Content-Type' => 'text/plain'}, [JSON.pretty_generate(env)] ]
 }


Mime
View raw message