mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
parent
1223007377
commit
4763dea571
@ -38,7 +38,7 @@ bool InfoHandler::HandleRequest(const ApiUser::Ptr& user, HttpRequest& request,
|
||||
return true;
|
||||
}
|
||||
|
||||
if (request.RequestUrl->GetPath()[0] != "v1")
|
||||
if (request.RequestUrl->GetPath()[0] != "v1" || request.RequestUrl->GetPath().size() != 1)
|
||||
return false;
|
||||
|
||||
response.SetStatus(200, "OK");
|
||||
|
Loading…
x
Reference in New Issue
Block a user