summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--conf/wordblock.conf1
-rw-r--r--inc/common.php3
2 files changed, 3 insertions, 1 deletions
diff --git a/conf/wordblock.conf b/conf/wordblock.conf
index fe451f278..fc939a4d4 100644
--- a/conf/wordblock.conf
+++ b/conf/wordblock.conf
@@ -30,3 +30,4 @@ https?:\/\/(\S*?)(2-pay-secure|911essay|academia-research|anypapers|applicatione
flatsinmumbai\.co\.in
https?:\/\/(\S*?)penny-?stock
mattressreview\.biz
+(just|simply) (my|a) profile (site|webpage|page)
diff --git a/inc/common.php b/inc/common.php
index 59ceb0c0d..760a9f6dc 100644
--- a/inc/common.php
+++ b/inc/common.php
@@ -557,12 +557,13 @@ function checkwordblock($text = '') {
global $TEXT;
global $PRE;
global $SUF;
+ global $SUM;
global $conf;
global $INFO;
if(!$conf['usewordblock']) return false;
- if(!$text) $text = "$PRE $TEXT $SUF";
+ if(!$text) $text = "$PRE $TEXT $SUF $SUM";
// we prepare the text a tiny bit to prevent spammers circumventing URL checks
$text = preg_replace('!(\b)(www\.[\w.:?\-;,]+?\.[\w.:?\-;,]+?[\w/\#~:.?+=&%@\!\-.:?\-;,]+?)([.:?\-;,]*[^\w/\#~:.?+=&%@\!\-.:?\-;,])!i', '\1http://\2 \2\3', $text);