class RhetButler::Web::SelectiveAuth
Public Instance Methods
call(env)
click to toggle source
Calls superclass method
# File lib/rhet-butler/web/main-app.rb, line 14 def call(env) #XXX This is to work around a Chrome bug: #https://code.google.com/p/chromium/issues/detail?id=123862 #ok #When fixed upstream, this'll come out and we'll stop supporting old #versions of Chrome. #As is, under SSL this is kinda secure (i.e. not at all) because the #WS details are secret if /^http/ =~ env["rack.url_scheme"] and env["HTTP_UPGRADE"] != "websocket" super else @app.call(env) end end