Skip to content

Commit

Permalink
Launch prerequisites
Browse files Browse the repository at this point in the history
  • Loading branch information
bastianallgeier committed Feb 18, 2020
1 parent d6acd31 commit 1c378b9
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 9 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "getkirby/cms",
"description": "The Kirby 3 core",
"version": "3.3.4-rc.1",
"version": "3.3.4",
"license": "proprietary",
"keywords": ["kirby", "cms", "core"],
"homepage": "https://getkirby.com",
Expand Down
14 changes: 7 additions & 7 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 8 additions & 1 deletion vendor/symfony/polyfill-mbstring/Mbstring.php
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,14 @@ public static function mb_str_split($string, $split_length = 1, $encoding = null
}

if ('UTF-8' === $encoding = self::getEncoding($encoding)) {
return preg_split("/(.{{$split_length}})/u", $string, null, PREG_SPLIT_DELIM_CAPTURE | PREG_SPLIT_NO_EMPTY);
$rx = '/(';
while (65535 < $split_length) {
$rx .= '.{65535}';
$split_length -= 65535;
}
$rx .= '.{'.$split_length.'})/us';

return preg_split($rx, $string, null, PREG_SPLIT_DELIM_CAPTURE | PREG_SPLIT_NO_EMPTY);
}

$result = array();
Expand Down

0 comments on commit 1c378b9

Please sign in to comment.