diff --git a/inc/instance-config.php b/inc/instance-config.php index 98bace34..12406214 100644 --- a/inc/instance-config.php +++ b/inc/instance-config.php @@ -406,7 +406,7 @@ $config['wordfilters'][] = array('/nigg/i', 'uygh', true); $config['filters'][] = array( 'condition' => array( '!body' => '/(^[^>]|[\r\n][^>])/', // Greentexting only (does not contain non-greentext) - 'filename' => '/[a-z]+.jpg/' // Only lowercase letters, .jpg + 'filename' => '/^[a-z]+\.jpg/' // Only lowercase letters, .jpg ), 'action' => 'reject', 'message' => 'Flood detected; Post discarded.'