Viewing 3 replies - 1 through 3 (of 3 total)
  • There is a problem in word boundary detection in Unicode strings.

    in /includes/jlfunctions/str.php:207 replace this one

    $search_regex = "/\b($search)\b(?!(?:(?!<\/?(?:$exclude_tags).*?>).)*<\/(?:$exclude_tags).*?>)(?![^<>]*>)/imsU";

    to this one

    switch (mb_detect_encoding($search)) {
          case 'UTF-8':
            $search_regex = "/($search)(?!(?:(?!<\/?(?:$exclude_tags).*?>).)*<\/(?:$exclude_tags).*?>)(?![^<>]*>)/imsu";
            break;
          default:
            $search_regex = "/\b($search)\b(?!(?:(?!<\/?(?:$exclude_tags).*?>).)*<\/(?:$exclude_tags).*?>)(?![^<>]*>)/imsu";
            break;
        }

    Thank you so much. Works like charm now..

    Thread Starter IQpromo

    (@iqpromo)

    Does anyone know if this bug is fixed in lates version or not?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: SEO Ultimate] Deeplink Juggernaut doesn't support cyrillic symbols’ is closed to new replies.