Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-15956

Search words between color bbcode

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: 3.2.5
    • Fix Version/s: None
    • Component/s: Search
    • Labels:

      Description

      phpBB Native Fulltext does not index and search for words enclosed between color tags.
      For example,

      [color=#0000FF]whatever word[/color]
      

      in message will not be found.

      it is related to function function split_message in phpbb/search/fulltext_native.php

      If comment this regex

      // BBcode
      $match[] = '#\[\/?[a-z0-9\*\+\-]+(?:=.*?)?(?::[a-z])?(\:?[0-9a-z]{5,})\]#';
      

      in 1328 line everything works well and the words between color perfectly search.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              molibo molibo [X] (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: