mirror of https://github.com/kiwix/libkiwix.git
Merge pull request #141 from kiwix/mhutti1/url-decoding
Decode reserved characters in URLs
This commit is contained in:
commit
2e38aa796f
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue