mirror of https://github.com/Icinga/icinga2.git
parent
0e0c8b336c
commit
aa16438298
|
@ -215,11 +215,11 @@ bool Url::ParsePath(const String& path)
|
|||
if (token.IsEmpty())
|
||||
continue;
|
||||
|
||||
String decodedToken = Utility::UnescapeString(token);
|
||||
|
||||
if (!ValidateToken(decodedToken, ACPATHSEGMENT))
|
||||
if (!ValidateToken(token, ACPATHSEGMENT))
|
||||
return false;
|
||||
|
||||
String decodedToken = Utility::UnescapeString(token);
|
||||
|
||||
m_Path.push_back(decodedToken);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue