X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fmodules%2Fcontrib%2Fredirect%2Fmodules%2Fredirect_404%2Fsrc%2FSqlRedirectNotFoundStorage.php;fp=web%2Fmodules%2Fcontrib%2Fredirect%2Fmodules%2Fredirect_404%2Fsrc%2FSqlRedirectNotFoundStorage.php;h=98003ebaeda3ba8ffc668c6463db652889ed4ee2;hp=8b425e9ba02ea7b223b70e351c4ad1dafb8d5fac;hb=059867c3f96750652c80f39e44c442a58c2549ee;hpb=f8fc16ae6b862bef59baaad5d051dd37b7ff11b2 diff --git a/web/modules/contrib/redirect/modules/redirect_404/src/SqlRedirectNotFoundStorage.php b/web/modules/contrib/redirect/modules/redirect_404/src/SqlRedirectNotFoundStorage.php index 8b425e9ba..98003ebae 100644 --- a/web/modules/contrib/redirect/modules/redirect_404/src/SqlRedirectNotFoundStorage.php +++ b/web/modules/contrib/redirect/modules/redirect_404/src/SqlRedirectNotFoundStorage.php @@ -51,7 +51,7 @@ class SqlRedirectNotFoundStorage implements RedirectNotFoundStorageInterface { * {@inheritdoc} */ public function logRequest($path, $langcode) { - if (Unicode::strlen($path) > static::MAX_PATH_LENGTH) { + if (mb_strlen($path) > static::MAX_PATH_LENGTH) { // Don't attempt to log paths that would result in an exception. There is // no point in logging truncated paths, as they cannot be used to build a // new redirect.