From 003f13bf4af2f86fe486620000e630d54a854c47 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 5 Sep 2021 19:39:30 +0100 Subject: Add test cases for invalid accept where q is missing a value --- icespider/unittests/testAccept.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/icespider/unittests/testAccept.cpp b/icespider/unittests/testAccept.cpp index eb59bb3..7719d56 100644 --- a/icespider/unittests/testAccept.cpp +++ b/icespider/unittests/testAccept.cpp @@ -27,6 +27,8 @@ BOOST_DATA_TEST_CASE(bad_requests, " / ", " ^ ", " * / plain ", + " text / plain ; q ", + " text / plain ; q = ", " text / plain ; q = 0.0 ", " text / plain ; q = 1.1 ", " text / plain ; f = 0.1 ", -- cgit v1.2.3