diff options
author | technoweenie <technoweenie@19e92222-5c0b-0410-8929-a290d50e31e9> | 2007-03-10 09:47:08 +0000 |
---|---|---|
committer | technoweenie <technoweenie@19e92222-5c0b-0410-8929-a290d50e31e9> | 2007-03-10 09:47:08 +0000 |
commit | 26585e8e15e9a45e62b3b38b4098afda1cf39545 (patch) | |
tree | 7dc8b902ecf76d1519ec1ca9b164c4cf9193fe56 /lib/mongrel/rails.rb | |
parent | 7d5f4e6fd01ac048934ba1cef4c6e6c70b3be583 (diff) | |
download | unicorn-26585e8e15e9a45e62b3b38b4098afda1cf39545.tar.gz |
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@531 19e92222-5c0b-0410-8929-a290d50e31e9
Diffstat (limited to 'lib/mongrel/rails.rb')
-rw-r--r-- | lib/mongrel/rails.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/mongrel/rails.rb b/lib/mongrel/rails.rb index d447c61..64fdb19 100644 --- a/lib/mongrel/rails.rb +++ b/lib/mongrel/rails.rb @@ -52,8 +52,8 @@ module Mongrel if response.socket.closed? return end - path_info = request.params[Mongrel::Const::PATH_INFO] + path_info << $1 if request.params[Mongrel::Const::REQUEST_URI] =~ /^#{Regexp.escape path_info}(;[^\?]+)/ page_cached = path_info + ActionController::Base.page_cache_extension get_or_head = @@file_only_methods.include? request.params[Mongrel::Const::REQUEST_METHOD] @@ -71,10 +71,10 @@ module Mongrel # We don't want the output to be really final until we're out of the lock cgi.default_really_final = false - log_threads_waiting_for(@active_request_path || request.params["PATH_INFO"]) if $mongrel_debug_client + log_threads_waiting_for(@active_request_path || request.params[Mongrel::Const::PATH_INFO]) if $mongrel_debug_client @guard.synchronize { - @active_request_path = request.params["PATH_INFO"] + @active_request_path = request.params[Mongrel::Const::PATH_INFO] Dispatcher.dispatch(cgi, ActionController::CgiRequest::DEFAULT_SESSION_OPTIONS, response.body) @active_request_path = nil } |