mirror of
https://github.com/Icinga/icinga-powershell-framework.git
synced 2025-12-20 23:00:35 -05:00
parent
a78ac014be
commit
6de97f439f
1 changed files with 2 additions and 2 deletions
|
|
@ -15,8 +15,8 @@ function Read-IcingaRESTMessage()
|
|||
|
||||
#Path
|
||||
$PathMatch = $Matches[3];
|
||||
$PathMatch -match '(.+)\?(.*)' | Out-Null;
|
||||
$Arguments = $Matches[2];
|
||||
$PathMatch -match '((\/[^\/\?]+)*)\??([^\/]*)' | Out-Null;
|
||||
$Arguments = $Matches[3];
|
||||
$Request.RequestPath.Add('FullPath', $Matches[1]);
|
||||
$Request.RequestPath.Add('PathArray', $Matches[1].TrimStart('/').Split('/'));
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue