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

jeremy’s picture

Version: 5.x-1.1-2 » 5.x-3.x-dev

Moving to the 3.x branch, where the custom filters will be improved.

jeremy’s picture

Assigned: Unassigned » jeremy

Assigning to myself, to address when adding support for custom filters.

jeremy’s picture

Status: Active » Closed (duplicate)

Moved into issue where custom filters will be implemented for the 5.x-3.x-dev branch, marking this issue as now duplicate.