Sanitize CGI configuration.

This commit is contained in:
Bastian Kleineidam 2014-07-13 21:56:01 +02:00
parent eafa1ed2da
commit 100ce11d40

View file

@ -178,6 +178,7 @@ def get_configuration(form, out):
# avoid checking of local files or other nasty stuff
pat = "!^%s$" % urlutil.safe_url_pattern
config["externlinks"].append(get_link_pat(pat, strict=True))
config.sanitize()
return config