1
0
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:
Marc Alexander
2023-10-06 20:20:00 +02:00
2 changed files with 75 additions and 32 deletions

View File

@@ -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 = '';
}