mirror of
https://github.com/Icinga/icinga2.git
synced 2026-05-28 04:12:13 -04:00
Merge e1d8cf487d into f63bbec4ab
This commit is contained in:
commit
c45e93573e
1 changed files with 1 additions and 1 deletions
|
|
@ -266,7 +266,7 @@ bool Url::ParseUserinfo(const String& userinfo)
|
|||
m_Username = Utility::UnescapeString(m_Username);
|
||||
if (pos != String::NPos && pos != userinfo.GetLength() - 1) {
|
||||
m_Password = userinfo.SubStr(pos+1);
|
||||
if (!ValidateToken(m_Username, ACUSERINFO))
|
||||
if (!ValidateToken(m_Password, ACUSERINFO))
|
||||
return false;
|
||||
m_Password = Utility::UnescapeString(m_Password);
|
||||
} else
|
||||
|
|
|
|||
Loading…
Reference in a new issue