You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by Sam Ruby <ru...@apache.org> on 2016/01/23 20:56:30 UTC
[whimsy.git] [1/1] Commit 80d566f: try a different hack
Commit 80d566f8297cf679356b7e78c95cb934556c96cf:
try a different hack
Branch: refs/heads/master
Author: Sam Ruby <ru...@intertwingly.net>
Committer: Sam Ruby <ru...@intertwingly.net>
Pusher: rubys <ru...@apache.org>
------------------------------------------------------------
lib/whimsy/asf/rack.rb | + -
------------------------------------------------------------
2 changes: 1 additions, 1 deletions.
------------------------------------------------------------
diff --git a/lib/whimsy/asf/rack.rb b/lib/whimsy/asf/rack.rb
index f73bbcc..1367077 100644
--- a/lib/whimsy/asf/rack.rb
+++ b/lib/whimsy/asf/rack.rb
@@ -176,7 +176,7 @@ def initialize(app)
end
def call(env)
- env['HTTP_X_WUNDERBAR_BASE'] ||= env['SCRIPT_NAME']
+ Thread.current[:env] = env
if env['HTTPS'] == 'on'
env['SCRIPT_URI'].sub!(/^http:/, 'https:')