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())
|
if (token.IsEmpty())
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
String decodedToken = Utility::UnescapeString(token);
|
if (!ValidateToken(token, ACPATHSEGMENT))
|
||||||
|
|
||||||
if (!ValidateToken(decodedToken, ACPATHSEGMENT))
|
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
String decodedToken = Utility::UnescapeString(token);
|
||||||
|
|
||||||
m_Path.push_back(decodedToken);
|
m_Path.push_back(decodedToken);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue