mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-28 08:04:14 +02:00
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…
x
Reference in New Issue
Block a user