mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-05 00:07:44 +02:00
[feature/request-class] Remove $html_encode arg, force manual decoding
PHPBB3-9716
This commit is contained in:
@@ -60,8 +60,7 @@ class phpbb_request_test extends phpbb_test_case
|
||||
->with(
|
||||
$this->anything(),
|
||||
'',
|
||||
true,
|
||||
false
|
||||
true
|
||||
);
|
||||
|
||||
$this->request->server('HTTP_SOMEVAR');
|
||||
@@ -80,7 +79,6 @@ class phpbb_request_test extends phpbb_test_case
|
||||
->with(
|
||||
$this->anything(),
|
||||
'',
|
||||
true,
|
||||
true
|
||||
);
|
||||
|
||||
|
@@ -48,14 +48,4 @@ class phpbb_type_cast_helper_test extends phpbb_test_case
|
||||
|
||||
$this->assertEquals($expected, $data);
|
||||
}
|
||||
|
||||
public function test_simple_set_var_without_html_encoding()
|
||||
{
|
||||
$data = 'eviL<3';
|
||||
$expected = 'eviL<3';
|
||||
|
||||
$this->type_cast_helper->recursive_set_var($data, '', true, false);
|
||||
|
||||
$this->assertEquals($expected, $data);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user