Closed (fixed)
Project:
Webform Validation
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
11 Apr 2011 at 01:48 UTC
Updated:
24 Feb 2016 at 18:35 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
DrewMathers commentedHere is a patch that escapes any regular expression special characters in the blacklist words list.
Comment #2
DrewMathers commentedReplaced my ugly PHP version detection hack.
Comment #3
liam morlandComment #4
liam morlandThis change is backward-incompatible for anyone using the fact that regex characters were not escaped.
Fixed in ebdf5e8a509ee759f59c89c0311de116a8951e26. Code tidied up in ed64823390bea7559d55e81b19a65d75c9cfda03. Patches attached.
Comment #5
liam morlandComment #6
DrewMathers commentedD6 backport patch
The following pending backports have a dependency on this one:
#1162054: Words blacklist matches to patterns instead of words
#1082134: Pattern validator
Comment #7
liam morlandDrupal 6 is no longer supported.