diff --git a/ircd/http.cc b/ircd/http.cc index 97f3c9916..795e822e5 100644 --- a/ircd/http.cc +++ b/ircd/http.cc @@ -151,7 +151,7 @@ namespace ircd::http::parser const rule reason { str ,"reason" }; const rule head_key { raw[+(char_ - (illegal | ws | colon))] ,"head key" }; - const rule head_val { str ,"head value" }; + const rule head_val { -str ,"head value" }; const rule header { head_key >> *ws >> colon >> *ws >> head_val ,"header" }; const rule<> headers { header % (*ws >> CRLF) ,"headers" };