aboutsummaryrefslogtreecommitdiffstats
path: root/tests/security
diff options
context:
space:
mode:
authorTristan Darricau <github@nicofuma.fr>2014-11-12 11:44:56 +0100
committerTristan Darricau <github@nicofuma.fr>2014-11-16 16:45:19 +0100
commit0dfe1d0d8b007ec7b7cae0715cfb2e5f4e33bad4 (patch)
treec8e5bc0ca0d0f646b37d392d9bd67f6215dec7e4 /tests/security
parent526a97db7cea84ab54b7d283c888ada58a310bc4 (diff)
downloadforums-0dfe1d0d8b007ec7b7cae0715cfb2e5f4e33bad4.tar
forums-0dfe1d0d8b007ec7b7cae0715cfb2e5f4e33bad4.tar.gz
forums-0dfe1d0d8b007ec7b7cae0715cfb2e5f4e33bad4.tar.bz2
forums-0dfe1d0d8b007ec7b7cae0715cfb2e5f4e33bad4.tar.xz
forums-0dfe1d0d8b007ec7b7cae0715cfb2e5f4e33bad4.zip
[ticket/13280] Output escaping for the symfony request object
PHPBB3-13280
Diffstat (limited to 'tests/security')
-rw-r--r--tests/security/extract_current_page_test.php28
1 files changed, 14 insertions, 14 deletions
diff --git a/tests/security/extract_current_page_test.php b/tests/security/extract_current_page_test.php
index 5c0369f270..767b901a43 100644
--- a/tests/security/extract_current_page_test.php
+++ b/tests/security/extract_current_page_test.php
@@ -1,15 +1,15 @@
<?php
/**
- *
- * This file is part of the phpBB Forum Software package.
- *
- * @copyright (c) phpBB Limited <https://www.phpbb.com>
- * @license GNU General Public License, version 2 (GPL-2.0)
- *
- * For full copyright and license information, please see
- * the docs/CREDITS.txt file.
- *
- */
+*
+* This file is part of the phpBB Forum Software package.
+*
+* @copyright (c) phpBB Limited <https://www.phpbb.com>
+* @license GNU General Public License, version 2 (GPL-2.0)
+*
+* For full copyright and license information, please see
+* the docs/CREDITS.txt file.
+*
+*/
require_once dirname(__FILE__) . '/base.php';
@@ -27,8 +27,8 @@ class phpbb_security_extract_current_page_test extends phpbb_security_test_base
}
/**
- * @dataProvider security_variables
- */
+ * @dataProvider security_variables
+ */
public function test_query_string_php_self($query_string, $expected)
{
global $symfony_request, $request;
@@ -46,8 +46,8 @@ class phpbb_security_extract_current_page_test extends phpbb_security_test_base
}
/**
- * @dataProvider security_variables
- */
+ * @dataProvider security_variables
+ */
public function test_query_string_request_uri($query_string, $expected)
{
global $symfony_request, $request;