@%@UCRWARNING=#@%@

# Exception file extension list
# Use as a filter group's "exceptionextensionlist",
# 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/extensions' % group, '' )
	for entry in exception.split( ' ' ):
		print entry

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

# Text/web document types

.css
.html
.shtml
.htm
.stm
.asp
.php
.txt
.rtx
.xml
.xsl
.cgi
.pl

# Image types

.bmp
.cod
.gif
.ief
.jpe
.jpeg
.jpg
.jfif
.tif
.tiff
.ras
.cmx
.ico
.pnm
.pbm
.pgm
.ppm
.rgb
.xbm
.xpm
.xwd
'''
@!@
