diff options
author | David Kalnischkies <david@kalnischkies.de> | 2016-01-29 00:52:48 +0100 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2016-01-31 19:06:19 +0100 |
commit | aa3e7b3287a20b464237c869483111abc7e9d815 (patch) | |
tree | 9ccac51dd28b591b0ad3e09e8710da3e29d04432 /test/interactive-helper | |
parent | 401d88939a749e8bb3e0493db2fe6d3a7281c73f (diff) |
test all redirection codes work as expected
Git-Dch: Ignore
Diffstat (limited to 'test/interactive-helper')
-rw-r--r-- | test/interactive-helper/aptwebserver.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/interactive-helper/aptwebserver.cc b/test/interactive-helper/aptwebserver.cc index 849323cc0..0398a4599 100644 --- a/test/interactive-helper/aptwebserver.cc +++ b/test/interactive-helper/aptwebserver.cc @@ -652,7 +652,7 @@ static void * handleClient(void * voidclient) /*{{{*/ redirect.erase(0,1); if (redirect != filename) { - sendRedirect(client, 301, redirect, *m, sendContent); + sendRedirect(client, _config->FindI("aptwebserver::redirect::httpcode", 301), redirect, *m, sendContent); continue; } } |