Broke Server.404 with /catalogBLABLABLA/root.xml

The new negative test-point demonstrates that Kiwix server doesn't
distinguish /catalogBLABLABLA from /catalog.
This commit is contained in:
Veloman Yunkan 2021-04-15 18:38:38 +04:00
parent 86ef2e2199
commit 0a3d293ae0
1 changed files with 1 additions and 0 deletions

View File

@ -240,6 +240,7 @@ const char* urls404[] = {
"/skin/non-existent-skin-resource", "/skin/non-existent-skin-resource",
"/catalog", "/catalog",
"/catalog/non-existent-item", "/catalog/non-existent-item",
"/catalogBLABLABLA/root.xml",
"/meta", "/meta",
"/meta?content=zimfile", "/meta?content=zimfile",
"/meta?content=zimfile&name=non-existent-item", "/meta?content=zimfile&name=non-existent-item",