mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-05-08 22:54:51 +00:00
Sanitize CGI configuration.
This commit is contained in:
parent
eafa1ed2da
commit
100ce11d40
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue