Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-9933

Wrong handling of consecutive multiple asterisks in word censor

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.0.9-RC1
    • 3.0.8
    • ACP
    • None

      When you put a word with multiple (>2) consecutive asterisks in word censor for replacement, it causes errors like

      [phpBB Debug] PHP Notice: in file /includes/functions_content.php on line 712: preg_replace(): Compilation failed: nothing to repeat at offset 25
      [phpBB Debug] PHP Notice: in file /includes/functions_content.php on line 712: preg_replace(): Compilation failed: nothing to repeat at offset 25


      Regression is caused by the fix for PHPBB3-6747.

            bantu Andreas Fischer [X] (Inactive)
            rxu rxu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: