mirror of
https://github.com/kiwix/kiwix-tools.git
synced 2025-09-24 04:20:56 -04:00
+ use getContentByDecodedUrl() instead of getContentByUrl()
This commit is contained in:
parent
ca52e42ed4
commit
5c13508401
@ -274,7 +274,7 @@ static int accessHandlerCallback(void *cls,
|
|||||||
else if (reader != NULL) {
|
else if (reader != NULL) {
|
||||||
pthread_mutex_lock(&readerLock);
|
pthread_mutex_lock(&readerLock);
|
||||||
try {
|
try {
|
||||||
found = reader->getContentByUrl(urlStr, content, contentLength, mimeType);
|
found = reader->getContentByDecodedUrl(urlStr, content, contentLength, mimeType);
|
||||||
if (found) {
|
if (found) {
|
||||||
if (isVerbose()) {
|
if (isVerbose()) {
|
||||||
cout << "Found " << urlStr << endl;
|
cout << "Found " << urlStr << endl;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user