mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-25 02:51:35 +02:00
Merge pull request #6531 from toxyy/ticket/17188
[ticket/17188] Allow request variable to check multiline unicode
This commit is contained in:
@@ -55,7 +55,7 @@ class type_cast_helper implements \phpbb\request\type_cast_helper_interface
|
||||
// Make sure multibyte characters are wellformed
|
||||
if ($multibyte)
|
||||
{
|
||||
if (!preg_match('/^./u', $result))
|
||||
if (!preg_match('//u', $result))
|
||||
{
|
||||
$result = '';
|
||||
}
|
||||
|
Reference in New Issue
Block a user