summaryrefslogtreecommitdiffstats
path: root/app/controllers/application_controller.rb
diff options
context:
space:
mode:
authorEtienne Massip <etienne.massip@gmail.com>2012-08-24 21:23:10 +0000
committerEtienne Massip <etienne.massip@gmail.com>2012-08-24 21:23:10 +0000
commit70226f183334f66154b88347ea91cb79deca24db (patch)
tree1bd72bef2c8c494f44cfdfa2659b238105256588 /app/controllers/application_controller.rb
parenta1d8cab6c6528b2714a7db5b180ada62541ab497 (diff)
downloadredmine-70226f183334f66154b88347ea91cb79deca24db.tar.gz
redmine-70226f183334f66154b88347ea91cb79deca24db.zip
Use a back_url parameter instead of referrer to refresh the page after user deletion (#11691).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10234 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/application_controller.rb')
-rw-r--r--app/controllers/application_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb
index d6efa4124..0e5f6ba54 100644
--- a/app/controllers/application_controller.rb
+++ b/app/controllers/application_controller.rb
@@ -300,7 +300,7 @@ class ApplicationController < ActionController::Base
end
def redirect_back_or_default(default)
- back_url = CGI.unescape(params[:back_url].to_s)
+ back_url = params[:back_url].to_s
if !back_url.blank?
begin
uri = URI.parse(back_url)