mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
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…
x
Reference in New Issue
Block a user