beautypg.com

About the custom whitelist’s structure, Allowing specific url protocols, Allowing specific css styles – Apple Mac OS X Server (Extending Your Wiki Server For Version 10.5 Leopard) User Manual

Page 32

background image

About the Custom Whitelist’s Structure

The following lines are required in the custom whitelist:


com/DTDs/PropertyList-1.0.dtd">



protocols

allowed protocols

styles

allowed CSS styles

tags

allowed HTML tags and attributes


The dict contains several key/value blocks that allow specific protocols, styles, tags, or
attributes.

Allowing Specific URL Protocols

To allow specific URL protocols, add strings with the protocols’ names to the protocols
block.

For example, to allow entry of URLs that start with “irc://” and “scp://”, create the
following block:

protocols

irc
scp

Allowing Specific CSS Styles

To allow specific CSS style attributes, add strings with the style attributes’ names to the
styles block.

32

Chapter 2

Allowing Specific Protocols, CSS Styles, and HTML Tags and Attributes