From 0a3d293ae0724efa606af7fd6412255be3bfe1b9 Mon Sep 17 00:00:00 2001 From: Veloman Yunkan Date: Thu, 15 Apr 2021 18:38:38 +0400 Subject: [PATCH] Broke Server.404 with /catalogBLABLABLA/root.xml The new negative test-point demonstrates that Kiwix server doesn't distinguish /catalogBLABLABLA from /catalog. --- test/server.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/test/server.cpp b/test/server.cpp index 612cfd65..7333c2f2 100644 --- a/test/server.cpp +++ b/test/server.cpp @@ -240,6 +240,7 @@ const char* urls404[] = { "/skin/non-existent-skin-resource", "/catalog", "/catalog/non-existent-item", + "/catalogBLABLABLA/root.xml", "/meta", "/meta?content=zimfile", "/meta?content=zimfile&name=non-existent-item",