summaryrefslogtreecommitdiffstats
path: root/man.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-07-18 19:03:39 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-07-18 19:03:39 +0000
commitd06d27331700307ee6ca6040c2bd638cafbeef2e (patch)
tree5bc2ef63f9cc3a7779e8cba69337c9bb4eeb21e3 /man.c
parentd6b0c874c2cb135687f01f289844fc55b7fe06f1 (diff)
downloadmandoc-d06d27331700307ee6ca6040c2bd638cafbeef2e.tar.gz
Do not use the HTTP_HOST CGI variable,
just make the HTTP redirect Location: relative. Less user input is good, it reduces the attack surface. Besides, this removes one global variable and 4 lines of code. Patch from Sebastien Marie <semarie-openbsd at latrappe dot fr>.
Diffstat (limited to 'man.c')
0 files changed, 0 insertions, 0 deletions