Remove range limit for filename
This commit is contained in:
parent
c50491430d
commit
9c2664cacc
|
@ -406,7 +406,7 @@ $config['wordfilters'][] = array('/nigg/i', 'uygh', true);
|
||||||
$config['filters'][] = array(
|
$config['filters'][] = array(
|
||||||
'condition' => array(
|
'condition' => array(
|
||||||
'!body' => '/(^[^>]|[\r\n][^>])/', // Greentexting only (does not contain non-greentext)
|
'!body' => '/(^[^>]|[\r\n][^>])/', // Greentexting only (does not contain non-greentext)
|
||||||
'filename' => '/[a-z]{6,12}.jpg/' // Six to 12 lowercase letters, .jpg
|
'filename' => '/[a-z]+.jpg/' // Only lowercase letters, .jpg
|
||||||
),
|
),
|
||||||
'action' => 'reject',
|
'action' => 'reject',
|
||||||
'message' => 'Flood detected; Post discarded.'
|
'message' => 'Flood detected; Post discarded.'
|
||||||
|
|
Loading…
Reference in New Issue