Merge branch 'deploy_spamnoticer' into icecat_fix
This commit is contained in:
commit
862d38c9b3
|
@ -563,7 +563,7 @@ $config['filters'][] = array(
|
||||||
|
|
||||||
$config['filters'][] = array(
|
$config['filters'][] = array(
|
||||||
'condition' => array(
|
'condition' => array(
|
||||||
'body' => '/(^|\s)((https?):\/\/)?[\w-]{2,6}\.[a-z]{2,4}\/\w{2,8}(\s|$)/i', // url shorteners are not allowed
|
'body' => '/(^|\s)((https?):\/\/)?[\w-]{2,6}\.[a-z]{2,4}\/\w{2,8}(#[^\s]+)?(\s|$)/i', // url shorteners are not allowed
|
||||||
),
|
),
|
||||||
'action' => 'reject',
|
'action' => 'reject',
|
||||||
'message' => 'Url shorteners are not allowed'
|
'message' => 'Url shorteners are not allowed'
|
||||||
|
|
Loading…
Reference in New Issue