Add a 'trusted-cgi-referrer' directive
authorFabian Keil <fk@fabiankeil.de>
Mon, 20 Feb 2017 13:44:32 +0000 (13:44 +0000)
committerFabian Keil <fk@fabiankeil.de>
Mon, 20 Feb 2017 13:44:32 +0000 (13:44 +0000)
commita9f0837233938408364f067bf89def53b677f68f
treedec16196efe102a3d148e74f83195118e112c9a5
parent1edcb831bff7e8043e302d36aca13d2a893401ea
Add a 'trusted-cgi-referrer' directive

It allows to configure another page or site that can be used
to reach sensitive CGI ressources.

Example:
trusted-cgi-referer http://www.example.org/blafasel

Currently the parameter is a vanilla string (not a regular
expression) and has to match the beginning of the Referer
the client used to reach a harmful ressource.

Sponsored by: Robert Klemme
cgi.c
loadcfg.c
project.h