summaryrefslogtreecommitdiff
path: root/test/integration
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2017-07-24 09:45:51 +0200
committerDavid Kalnischkies <david@kalnischkies.de>2017-07-26 19:07:56 +0200
commit1c5f13d489688e5fbbcdd3d0d2dd766769639939 (patch)
tree3f8760cd7ee2939a20339c3cda6795f4b9bdf2a0 /test/integration
parent8df85a4fb91bed6c79a3cb9c2000881cc5b42ea7 (diff)
don't try to parse all fields starting with HTTP as status-line
It is highly unlikely to encounter fields which start with HTTP in practice, but we should really be a bit more restrictive here.
Diffstat (limited to 'test/integration')
-rwxr-xr-xtest/integration/test-bug-778375-server-has-no-reason-phrase2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/integration/test-bug-778375-server-has-no-reason-phrase b/test/integration/test-bug-778375-server-has-no-reason-phrase
index 28e31e069..e04f4850f 100755
--- a/test/integration/test-bug-778375-server-has-no-reason-phrase
+++ b/test/integration/test-bug-778375-server-has-no-reason-phrase
@@ -12,6 +12,8 @@ changetohttpswebserver -o 'aptwebserver::redirect::replace::/redirectme/=/' \
-o 'aptwebserver::httpcode::200=200' -o 'aptwebserver::httpcode::404=404' \
-o 'aptwebserver::httpcode::301=301'
webserverconfig 'aptwebserver::empty-response-header::' 'foobar'
+webserverconfig 'aptwebserver::response-header::HTTP-Trigger-Field' 'bug'
+webserverconfig 'aptwebserver::response-header::Httputter-Trigger-Field' 'bug'
testdownload() {
rm -f downfile