From 5f232c75e6ae3d4fbba35c454214c65c83e63d58 Mon Sep 17 00:00:00 2001 From: kelson42 Date: Sun, 17 Mar 2013 19:22:57 +0100 Subject: [PATCH] FIXED: Encoding issue in kiwix-serve 404 error message --- src/server/kiwix-serve.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/kiwix-serve.cpp b/src/server/kiwix-serve.cpp index 7817ef2..0bae9b6 100644 --- a/src/server/kiwix-serve.cpp +++ b/src/server/kiwix-serve.cpp @@ -275,7 +275,7 @@ static int accessHandlerCallback(void *cls, if (isVerbose()) cout << "Failed to find " << urlStr << endl; - content = "\nContent not found

Not Found

The requested URL " + urlStr + " was not found on this server.

"; + content = "\nContent not found

Not Found

The requested URL " + urlStr + " was not found on this server.

"; mimeType = "text/html"; httpResponseCode = MHD_HTTP_NOT_FOUND; }