Prevent crashes due to regexp compilation errors

Page titles are now properly escaped using preg_quote() to prevent regexp
compilation errors if the title contains characters with special meanings in
regular expressions.
This commit is contained in:
Daniel Kraus
2013-08-09 17:34:01 +02:00
parent 3bf0ddfe17
commit 9d414d0e5e
4 changed files with 12 additions and 5 deletions

3
NEWS
View File

@ -1,3 +1,6 @@
LinkTitles 2.2.2: 2013-08-09
* Prevent crashes due to special characters in page titles.
LinkTitles 2.2.1: 2013-07-22
* Make the extension work with sqlite databases.