Merge pull request #1298 from kiwix/exact_version_of_libmicrohttpd_url_parsing_change

Exact version of libmicrohttpd affecting the server unit-test
This commit is contained in:
Kelson
2026-05-09 16:58:37 +02:00
committed by GitHub

View File

@@ -442,7 +442,7 @@ TEST_F(ServerTest, CacheIdsOfStaticResourcesMatchTheSha1HashOfResourceContent)
}
const char* urls400[] = {
#if MHD_VERSION >= 0x01000000
#if MHD_VERSION >= 0x01000300
"/ROOT%23%",
"/ROOT%23%3",
#endif // MHD_VERSION
@@ -468,7 +468,7 @@ const char* urls404[] = {
"/",
"/zimfile",
"/ROOT",
#if MHD_VERSION < 0x01000000
#if MHD_VERSION < 0x01000300
"/ROOT%23%",
"/ROOT%23%3",
#endif // MHD_VERSION