3
0
Fork 0

FIXED: Encoding issue in kiwix-serve 404 error message

small_fixes
kelson42 13 years ago
parent 0ffb620669
commit 5f232c75e6

@ -275,7 +275,7 @@ static int accessHandlerCallback(void *cls,
if (isVerbose())
cout << "Failed to find " << urlStr << endl;
content = "<!DOCTYPE html>\n<html><head><title>Content not found</title></head><body><h1>Not Found</h1><p>The requested URL " + urlStr + " was not found on this server.</p></body></html>";
content = "<!DOCTYPE html>\n<html><head><meta content=\"text/html;charset=UTF-8\" http-equiv=\"content-type\" /><title>Content not found</title></head><body><h1>Not Found</h1><p>The requested URL " + urlStr + " was not found on this server.</p></body></html>";
mimeType = "text/html";
httpResponseCode = MHD_HTTP_NOT_FOUND;
}

Loading…
Cancel
Save