Change decode - check order in path decoding

refs #9470
This commit is contained in:
Jean-Marcel Flach 2015-07-15 15:28:26 +02:00
parent 0e0c8b336c
commit aa16438298
1 changed files with 3 additions and 3 deletions

View File

@ -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);
}