From 100ce11d40a0261c34b6b3d6c24bcb812b0398cb Mon Sep 17 00:00:00 2001 From: Bastian Kleineidam Date: Sun, 13 Jul 2014 21:56:01 +0200 Subject: [PATCH] Sanitize CGI configuration. --- linkcheck/lc_cgi.py | 1 + 1 file changed, 1 insertion(+) diff --git a/linkcheck/lc_cgi.py b/linkcheck/lc_cgi.py index 9e28d5a4..8c21d94e 100644 --- a/linkcheck/lc_cgi.py +++ b/linkcheck/lc_cgi.py @@ -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