mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-27 11:06:50 +01:00
make HTTPAuthenticationParams::parse() add value on end of string
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user