Closed (duplicate)
Project:
Spam
Version:
5.x-3.x-dev
Component:
Custom Filters
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
15 Apr 2008 at 14:32 UTC
Updated:
17 Sep 2008 at 15:39 UTC
Several people have reported bugs that were caused by custom filters without properly escaped regular expressions:
http://drupal.org/node/160208
http://drupal.org/node/188305
http://drupal.org/node/71838
http://drupal.org/node/141076
It would be helpful if, after submitting a custom regular expression but before saving it, an attempt was made to use the regular expression and test the return code. If it returns an error, the regular expression should not be saved and a warning should be given to the admin who is adding it - prompting them to fix it first.
Comments
Comment #1
jeremy commentedMoving to the 3.x branch, where the custom filters will be improved.
Comment #2
jeremy commentedAssigning to myself, to address when adding support for custom filters.
Comment #3
jeremy commentedMoved into issue where custom filters will be implemented for the 5.x-3.x-dev branch, marking this issue as now duplicate.