Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Next to ignore (blacklist) items, we should also have an option to allow (whitelist) items.
Attached patch does just that. It fixes potential problems by checking if allow/ignore is set. If not set, it sets allow to everything and/or ignore to nothing.
The check to add the text of the item is changed now to: "It should be allowed AND it should not be ignored."
Best option is to use either allow or ignore. If one uses both at the same time they have to be very, very careful.
Comment | File | Size | Author |
---|---|---|---|
allow.patch | 949 bytes | Kiphaas7 | |
Comments
Comment #1
Kiphaas7 CreditAttribution: Kiphaas7 commentedCommitted.
http://drupalcode.org/project/instantfilter.git/commit/b66ac65
http://drupalcode.org/project/instantfilter.git/commit/dce2425
Comment #2
Kiphaas7 CreditAttribution: Kiphaas7 commentedOk, wow. The commited patches were completely flawed.
Fixed partially in:
http://drupalcode.org/project/instantfilter.git/commit/9625818
Additional fix in:
http://drupalcode.org/project/instantfilter.git/commit/9622c94