Fixed handling of /catalogBLABLA/root.xml & alike

Also removed an unneeded namespace qualifier.
This commit is contained in:
Veloman Yunkan 2021-04-15 18:53:53 +04:00
parent 0a3d293ae0
commit 5b272ac49c
1 changed files with 2 additions and 2 deletions

View File

@ -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")