summaryrefslogtreecommitdiffstats
path: root/test/functional/application_controller_test.rb
diff options
context:
space:
mode:
authorMarius Balteanu <marius.balteanu@zitec.com>2024-02-13 23:13:49 +0000
committerMarius Balteanu <marius.balteanu@zitec.com>2024-02-13 23:13:49 +0000
commit353ac52d474286e1357c6d50c318035e3a48dbbc (patch)
treea36b9026b8047c2fb2bf8a183abf3bdde31b15c2 /test/functional/application_controller_test.rb
parent9155b777e6d156d400c6f5eb4e6b1e161bf0b32a (diff)
downloadredmine-353ac52d474286e1357c6d50c318035e3a48dbbc.tar.gz
redmine-353ac52d474286e1357c6d50c318035e3a48dbbc.zip
Stop appending the utf8 checkmark parameter to form URLs (#40190).
Patch by Go MAEDA (@maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@22709 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/application_controller_test.rb')
-rw-r--r--test/functional/application_controller_test.rb27
1 files changed, 0 insertions, 27 deletions
diff --git a/test/functional/application_controller_test.rb b/test/functional/application_controller_test.rb
index 1ac44e60e..e69de29bb 100644
--- a/test/functional/application_controller_test.rb
+++ b/test/functional/application_controller_test.rb
@@ -1,27 +0,0 @@
-# frozen_string_literal: true
-
-# Redmine - project management software
-# Copyright (C) 2006-2023 Jean-Philippe Lang
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-require_relative '../test_helper'
-
-class ApplicationControllerTest < Redmine::ControllerTest
- def test_back_url_should_remove_utf8_checkmark_from_referer
- @request.set_header 'HTTP_REFERER', "/path?utf8=\u2713&foo=bar"
- assert_equal "/path?foo=bar", @controller.back_url
- end
-end