-
Bug
-
Resolution: Fixed
-
Minor
-
3.0.8
-
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
- was caused by solution of
-
PHPBB-6747 word censoring * does not handle space for two or more words
- Closed
1.
|
Create unit test for word censor regular expression | Unverified Fix | rxu | |
2.
|
Move word censor regular expression creation into separate function definition in functions.php | Unverified Fix | rxu |