Skip to content

Commit da58716

Browse files
committed
PoSHServer v3.7
New release - v3.7
1 parent d399859 commit da58716

File tree

5 files changed

+16
-2
lines changed

5 files changed

+16
-2
lines changed

modules/PoSHServer/PoSHServer.ps1

0 Bytes
Binary file not shown.

modules/PoSHServer/PoSHServer.psd1

0 Bytes
Binary file not shown.

modules/PoSHServer/modules/functions.ps1

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -345,8 +345,22 @@ param (
345345
.mpg {"video/mpeg"}
346346
.mpeg {"video/mpeg"}
347347
.mp3 {"audio/mpeg"}
348+
.oga {"audio/ogg"}
349+
.spx {"audio/ogg"}
350+
.mp4 {"video/mp4"}
351+
.m4v {"video/m4v"}
352+
.ogg {"video/ogg"}
353+
.ogv {"video/ogg"}
354+
.webm {"video/webm"}
348355
.wmv {"video/x-ms-wmv"}
349356
.woff {"application/x-font-woff"}
357+
.eot {"application/vnd.ms-fontobject"}
358+
.svg {"image/svg+xml"}
359+
.svgz {"image/svg+xml"}
360+
.otf {"font/otf"}
361+
.ttf {"application/x-font-ttf"}
362+
.xht {"application/xhtml+xml"}
363+
.xhtml {"application/xhtml+xml"}
350364
default {"text/html"}
351365
}
352366
}
@@ -536,10 +550,10 @@ param (
536550
{
537551
$PostName = $PostName.Substring(0,$PostName.Length-2)
538552

539-
if (!$Properties."$PostName")
553+
if (!(New-Object PSObject -Property @{PostName=@()}).PostName)
540554
{
541555
$Properties | Add-Member NoteProperty $Postname (@())
542-
$Properties."$PostName" = $PostValue
556+
$Properties."$PostName" += $PostValue
543557
}
544558
else
545559
{

packages/PoSHServer-Standalone.exe

1 KB
Binary file not shown.

packages/PoSHServer-Standalone.ps1

3.57 KB
Binary file not shown.

0 commit comments

Comments
 (0)