@%@UCRWARNING=#@%@

# Exception MIME type list
# Use as a filter group's "exceptionmimetypelist",
# to override a blanket download block.
# (blockdownloads = on)
#
# DOES NOT override content/virus scanning or site/URL bans.
#

@!@
if baseConfig.get('squid/contentscan', 'no').lower() in [ 'yes', 'true' ]:
	group = configRegistry.get( 'dansguardian/current/group' )
	exception = configRegistry.get( 'dansguardian/groups/%s/exception/mimetypes' % group, '' )
	for entry in exception.split( ' ' ):
		print entry

	if not exception:
		print '''
# Default list:
# Unblock web pages & graphics

# Text/web document types

text/plain
text/html
text/css
text/xml
text/xsl
text/richtext

# Image types

image/bmp
image/cis-cod
image/gif
image/ief
image/jpeg
image/pipeg
image/png
image/tiff
image/x-cmu-raster
image/x-cmx
image/x-icon
image/x-portable-anymap
image/x-portable-bitmap
image/x-portable-graymap
image/x-portable-pixmap
image/x-rgb
image/x-xbitmap
image/x-xpixmap
image/x-xwindowdump
'''
@!@
