mirror of https://github.com/Icinga/icinga2.git
Use HttpUtility::GetLastParameter to get endpoint
This commit is contained in:
parent
8f3617d074
commit
15dac85583
|
@ -568,7 +568,7 @@ Dictionary::Ptr ApiActions::ExecuteCommand(const ConfigObject::Ptr& object,
|
|||
|
||||
String endpoint = "$command_endpoint$";
|
||||
if (params->Contains("endpoint"))
|
||||
endpoint = params->Get("endpoint");
|
||||
endpoint = HttpUtility::GetLastParameter(params, "endpoint");
|
||||
|
||||
MacroProcessor::ResolverList resolvers;
|
||||
if (params->Contains("macros")) {
|
||||
|
|
Loading…
Reference in New Issue