summaryrefslogtreecommitdiffstats
path: root/app/helpers
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-12-31 10:47:19 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-12-31 10:47:19 +0000
commit6abd32be9e95954ca84285acf9c105f4bc7753aa (patch)
treedcebe9ede59d9ad623f71b583fdc19732f176544 /app/helpers
parent56318aab5381d0b8edcba64f32be90e64c2c1eb2 (diff)
downloadredmine-6abd32be9e95954ca84285acf9c105f4bc7753aa.tar.gz
redmine-6abd32be9e95954ca84285acf9c105f4bc7753aa.zip
Merged r2212 to r2214 from trunk.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/0.8-stable@2215 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/application_helper.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb
index 56db00855..a935ce9ec 100644
--- a/app/helpers/application_helper.rb
+++ b/app/helpers/application_helper.rb
@@ -526,6 +526,7 @@ module ApplicationHelper
def back_url_hidden_field_tag
back_url = params[:back_url] || request.env['HTTP_REFERER']
+ back_url = CGI.unescape(back_url.to_s)
hidden_field_tag('back_url', CGI.escape(back_url)) unless back_url.blank?
end