diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-07-18 19:03:39 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-07-18 19:03:39 +0000 |
commit | d06d27331700307ee6ca6040c2bd638cafbeef2e (patch) | |
tree | 5bc2ef63f9cc3a7779e8cba69337c9bb4eeb21e3 /compat_strsep.c | |
parent | d6b0c874c2cb135687f01f289844fc55b7fe06f1 (diff) | |
download | mandoc-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 'compat_strsep.c')
0 files changed, 0 insertions, 0 deletions