From 037af6890fe6fdb84a08d3c86083e847c90ec0ad Mon Sep 17 00:00:00 2001 From: Aleksander Machniak <alec@alec.pl> Date: Tue, 22 Oct 2013 08:17:26 -0400 Subject: [PATCH] Fix vulnerability in handling _session argument of utils/save-prefs (#1489382) --- tests/Framework/Html.php | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/Framework/Html.php b/tests/Framework/Html.php index 8a27bac..60284de 100644 --- a/tests/Framework/Html.php +++ b/tests/Framework/Html.php @@ -31,7 +31,6 @@ array('>', '>'), array('&', '&'), array('&', '&amp;'), - array('&', '&', true), ); } @@ -39,8 +38,8 @@ * Test for quote() * @dataProvider data_quote */ - function test_quote($str, $result, $validate = false) + function test_quote($str, $result) { - $this->assertEquals(html::quote($str, $validate), $result); + $this->assertEquals(html::quote($str), $result); } } -- Gitblit v1.9.1