diff --git a/Net/src/HTTPAuthenticationParams.cpp b/Net/src/HTTPAuthenticationParams.cpp index f88e5af46..53eff21fa 100644 --- a/Net/src/HTTPAuthenticationParams.cpp +++ b/Net/src/HTTPAuthenticationParams.cpp @@ -298,6 +298,9 @@ void HTTPAuthenticationParams::parse(std::string::const_iterator first, std::str } } + if (state == STATE_VALUE) + add(token, value); + if (!(state & STATE_FINAL)) throw SyntaxException("Invalid authentication information"); }