Merge pull request #141 from kiwix/mhutti1/url-decoding

Decode reserved characters in URLs
This commit is contained in:
Kelson 2018-06-01 11:28:37 +02:00 committed by GitHub
commit 2e38aa796f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -464,7 +464,7 @@ Entry Reader::getEntryFromPath(const std::string& path) const
Entry Reader::getEntryFromEncodedPath(const std::string& path) const Entry Reader::getEntryFromEncodedPath(const std::string& path) const
{ {
return getEntryFromPath(urlDecode(path)); return getEntryFromPath(urlDecode(path, true));
} }
Entry Reader::getEntryFromTitle(const std::string& title) const Entry Reader::getEntryFromTitle(const std::string& title) const