mirror of https://github.com/kiwix/libkiwix.git
Fixed handling of /catalogBLABLA/root.xml & alike
Also removed an unneeded namespace qualifier.
This commit is contained in:
parent
0a3d293ae0
commit
5b272ac49c
|
@ -243,10 +243,10 @@ std::unique_ptr<Response> InternalServer::handle_request(const RequestContext& r
|
|||
if ( etag )
|
||||
return Response::build_304(*this, etag);
|
||||
|
||||
if (kiwix::startsWith(request.get_url(), "/skin/"))
|
||||
if (startsWith(request.get_url(), "/skin/"))
|
||||
return handle_skin(request);
|
||||
|
||||
if (startsWith(request.get_url(), "/catalog"))
|
||||
if (startsWith(request.get_url(), "/catalog/"))
|
||||
return handle_catalog(request);
|
||||
|
||||
if (request.get_url() == "/meta")
|
||||
|
|
Loading…
Reference in New Issue