diff options
author | 2014-07-18 19:03:39 +0000 | |
---|---|---|
committer | 2014-07-18 19:03:39 +0000 | |
commit | 6d9b8bc9ac9935024b9c1b5d06d4f294d7fce3d1 (patch) | |
tree | f4c7415fe3497c57c28588f04fe7d6f6687331f9 /test-strlcat.c | |
parent | 0065e1541bdf9d7132fd54e83dfeab0ed1f86f25 (diff) | |
download | mandoc-6d9b8bc9ac9935024b9c1b5d06d4f294d7fce3d1.tar.gz mandoc-6d9b8bc9ac9935024b9c1b5d06d4f294d7fce3d1.tar.zst mandoc-6d9b8bc9ac9935024b9c1b5d06d4f294d7fce3d1.zip |
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 'test-strlcat.c')
0 files changed, 0 insertions, 0 deletions