Comments

DrewMathers’s picture

Status: Active » Needs review
StatusFileSize
new1.33 KB

Here is a patch that escapes any regular expression special characters in the blacklist words list.

DrewMathers’s picture

StatusFileSize
new1.3 KB

Replaced my ugly PHP version detection hack.

liam morland’s picture

Version: 6.x-1.4 » 7.x-1.x-dev
liam morland’s picture

Status: Needs review » Fixed
StatusFileSize
new1.94 KB
new1.37 KB

This 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.

liam morland’s picture

Version: 7.x-1.x-dev » 6.x-1.x-dev
Status: Fixed » Patch (to be ported)
DrewMathers’s picture

Status: Patch (to be ported) » Needs review
StatusFileSize
new1.83 KB

D6 backport patch

The following pending backports have a dependency on this one:
#1162054: Words blacklist matches to patterns instead of words
#1082134: Pattern validator

liam morland’s picture

Version: 6.x-1.x-dev » 7.x-1.x-dev
Issue summary: View changes
Status: Needs review » Closed (fixed)

Drupal 6 is no longer supported.