Comcode HTML Safelist

(17 KB)

93
460
Fine-grained control over Comcode permissions.

Normally there is a set of Comcode tags that regular users simply cannot use. However, with the Comcode/HTML safelist addon you can define a list of special cases, portions of Comcode that are allowed regardless of the limitation on the tag itself. Put each sequence of Comcode on it's own line, and make sure that each line starts and ends with the open/close for the tag that is being safelisted on. i.e. each line should look like

Code

[tag...]...[/tag]

Alternatively you can also use regular expressions (explained here: PHP: PCRE - Manual), if you surround with slashes and encode things appropriately.

You will still need to assign "Avoid broad input filtering security layer" privilege to users.

Website Software Requirements

Minimum software version: 11
Maximum software version: 11.9


Licence

Licensed on the same terms as Composr

Additional information

Addon version 11.0.1

Images

Rating

Unrated