diff --git a/modules/PoSHServer/PoSHServer.ps1 b/modules/PoSHServer/PoSHServer.ps1 index e152a93..92f3169 100644 Binary files a/modules/PoSHServer/PoSHServer.ps1 and b/modules/PoSHServer/PoSHServer.ps1 differ diff --git a/modules/PoSHServer/PoSHServer.psd1 b/modules/PoSHServer/PoSHServer.psd1 index f897200..e481ed9 100644 Binary files a/modules/PoSHServer/PoSHServer.psd1 and b/modules/PoSHServer/PoSHServer.psd1 differ diff --git a/modules/PoSHServer/modules/functions.ps1 b/modules/PoSHServer/modules/functions.ps1 index 6dd26ac..5907a06 100644 --- a/modules/PoSHServer/modules/functions.ps1 +++ b/modules/PoSHServer/modules/functions.ps1 @@ -345,8 +345,22 @@ param ( .mpg {"video/mpeg"} .mpeg {"video/mpeg"} .mp3 {"audio/mpeg"} + .oga {"audio/ogg"} + .spx {"audio/ogg"} + .mp4 {"video/mp4"} + .m4v {"video/m4v"} + .ogg {"video/ogg"} + .ogv {"video/ogg"} + .webm {"video/webm"} .wmv {"video/x-ms-wmv"} .woff {"application/x-font-woff"} + .eot {"application/vnd.ms-fontobject"} + .svg {"image/svg+xml"} + .svgz {"image/svg+xml"} + .otf {"font/otf"} + .ttf {"application/x-font-ttf"} + .xht {"application/xhtml+xml"} + .xhtml {"application/xhtml+xml"} default {"text/html"} } } @@ -536,10 +550,10 @@ param ( { $PostName = $PostName.Substring(0,$PostName.Length-2) - if (!$Properties."$PostName") + if (!(New-Object PSObject -Property @{PostName=@()}).PostName) { $Properties | Add-Member NoteProperty $Postname (@()) - $Properties."$PostName" = $PostValue + $Properties."$PostName" += $PostValue } else { diff --git a/packages/PoSHServer-Standalone.exe b/packages/PoSHServer-Standalone.exe index 2bab693..c8ef050 100644 Binary files a/packages/PoSHServer-Standalone.exe and b/packages/PoSHServer-Standalone.exe differ diff --git a/packages/PoSHServer-Standalone.ps1 b/packages/PoSHServer-Standalone.ps1 index e431b71..067d3cc 100644 Binary files a/packages/PoSHServer-Standalone.ps1 and b/packages/PoSHServer-Standalone.ps1 differ