mirror of
https://github.com/pocoproject/poco.git
synced 2025-01-29 21:30:04 +01:00
make HTTPAuthenticationParams::parse() add value on end of string
This commit is contained in:
parent
98db64fa04
commit
f320ce0a3b
@ -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");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user