Skip to content

Commit 91ddd12

Browse files
author
JLInF97
committed
Merge branch 'main' of https://github.com/JLInF97/PSWebGUI
2 parents 50100c3 + f7f9148 commit 91ddd12

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

PSWebGui.psm1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -275,17 +275,17 @@ Function Show-PSWebGUI
275275
$body = [system.text.encoding]::ascii.getstring($buffer)
276276

277277
# Split post data
278-
$_POST = @{}
278+
$global:_POST = @{}
279279
$body.split('&') | ForEach-Object {
280280
$part = $_.split('=')
281-
$_POST.add($part[0], $part[1])
281+
$global:_POST.add($part[0], $part[1])
282282
}
283283

284284

285285
# GET processing
286286
}else{
287287

288-
$_GET = $Context.Request.QueryString
288+
$global:_GET = $Context.Request.QueryString
289289
}
290290

291291
#endregion

0 commit comments

Comments
 (0)