Changeset 469 for TFP-WebServer
- Timestamp:
- Aug 19, 2023, 9:44:10 PM (16 months ago)
- Location:
- TFP-WebServer
- Files:
-
- 25 edited
Legend:
- Unmodified
- Added
- Removed
-
TFP-WebServer/CommandExtensions/CommandExtensions.csproj
r453 r469 30 30 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> 31 31 <OutputPath>..\bin\Mods\TFP_CommandExtensions\</OutputPath> 32 <DebugType> full</DebugType>32 <DebugType>portable</DebugType> 33 33 <DebugSymbols>true</DebugSymbols> 34 34 </PropertyGroup> … … 37 37 <DefineConstants>ENABLE_PROFILER</DefineConstants> 38 38 <DebugSymbols>true</DebugSymbols> 39 <DebugType> full</DebugType>39 <DebugType>portable</DebugType> 40 40 </PropertyGroup> 41 41 <ItemGroup> -
TFP-WebServer/CommandExtensions/ModInfo.xml
r463 r469 5 5 <Description value="Additional commands for server operation" /> 6 6 <Author value="The Fun Pimps LLC" /> 7 <Version value="21.1.16. 0" />7 <Version value="21.1.16.4" /> 8 8 <Website value="" /> 9 9 </xml> -
TFP-WebServer/MapRendering/MapRendering.csproj
r463 r469 33 33 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> 34 34 <OutputPath>..\bin\Mods\TFP_MapRendering\</OutputPath> 35 <DebugType> full</DebugType>35 <DebugType>portable</DebugType> 36 36 <DebugSymbols>true</DebugSymbols> 37 37 </PropertyGroup> … … 40 40 <DefineConstants>ENABLE_PROFILER</DefineConstants> 41 41 <DebugSymbols>true</DebugSymbols> 42 <DebugType> full</DebugType>42 <DebugType>portable</DebugType> 43 43 </PropertyGroup> 44 44 <ItemGroup> -
TFP-WebServer/MapRendering/ModInfo.xml
r463 r469 5 5 <Description value="Render the game map to image map tiles as it is uncovered" /> 6 6 <Author value="The Fun Pimps LLC" /> 7 <Version value="21.1.16. 0" />7 <Version value="21.1.16.4" /> 8 8 <Website value="" /> 9 9 </xml> -
TFP-WebServer/MarkersMod/MarkersMod.csproj
r459 r469 33 33 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> 34 34 <OutputPath>..\bin\Mods\Xample_MarkersMod\</OutputPath> 35 <DebugType> full</DebugType>35 <DebugType>portable</DebugType> 36 36 <DebugSymbols>true</DebugSymbols> 37 37 </PropertyGroup> … … 40 40 <DefineConstants>ENABLE_PROFILER</DefineConstants> 41 41 <DebugSymbols>true</DebugSymbols> 42 <DebugType> full</DebugType>42 <DebugType>portable</DebugType> 43 43 </PropertyGroup> 44 44 <ItemGroup> -
TFP-WebServer/MarkersMod/ModInfo.xml
r465 r469 5 5 <Description value="Allows placing custom markers on the web map" /> 6 6 <Author value="Catalysm and Alloc" /> 7 <Version value="21.1.16. 1" />7 <Version value="21.1.16.4" /> 8 8 <Website value="" /> 9 9 </xml> -
TFP-WebServer/SpaceWizards.HttpListener/SpaceWizards.HttpListener.csproj
r453 r469 35 35 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> 36 36 <OutputPath>..\bin\Mods\TFP_WebServer\</OutputPath> 37 <DebugType> full</DebugType>37 <DebugType>portable</DebugType> 38 38 <AllowUnsafeBlocks>true</AllowUnsafeBlocks> 39 39 <DefineConstants>UNITY_NETFRAMEWORK</DefineConstants> … … 44 44 <DefineConstants>UNITY_NETFRAMEWORK;ENABLE_PROFILER</DefineConstants> 45 45 <DebugSymbols>true</DebugSymbols> 46 <DebugType> full</DebugType>46 <DebugType>portable</DebugType> 47 47 <AllowUnsafeBlocks>true</AllowUnsafeBlocks> 48 48 </PropertyGroup> -
TFP-WebServer/SpaceWizards.HttpListener/src/System/Net/HttpListenerRequest.cs
r377 r469 78 78 } 79 79 80 // TFP: Added to manually set the encoding used for the query parameters 81 private Encoding contentEncoding; 80 82 public Encoding ContentEncoding 81 83 { 82 84 get 83 85 { 86 if (contentEncoding != null) { 87 return contentEncoding; 88 } 89 84 90 if (UserAgent != null && CultureInfo.InvariantCulture.CompareInfo.IsPrefix(UserAgent, "UP")) 85 91 { … … 89 95 try 90 96 { 91 return Encoding.GetEncoding(postDataCharset); 97 contentEncoding = Encoding.GetEncoding(postDataCharset); 98 return contentEncoding; 92 99 } 93 100 catch (ArgumentException) … … 105 112 try 106 113 { 107 return Encoding.GetEncoding(charSet); 114 contentEncoding = Encoding.GetEncoding(charSet); 115 return contentEncoding; 108 116 } 109 117 catch (ArgumentException) … … 113 121 } 114 122 } 115 return Encoding.Default; 123 contentEncoding = Encoding.Default; 124 return contentEncoding; 125 } 126 set 127 { 128 contentEncoding = value; 116 129 } 117 130 } -
TFP-WebServer/WebServer/ModInfo.xml
r468 r469 5 5 <Description value="Integrated Webserver for the Web Dashboard and server APIs" /> 6 6 <Author value="The Fun Pimps LLC" /> 7 <Version value="21.1.16. 3" />7 <Version value="21.1.16.4" /> 8 8 <Website value="" /> 9 9 </xml> -
TFP-WebServer/WebServer/WebServer.csproj
r463 r469 33 33 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> 34 34 <OutputPath>..\bin\Mods\TFP_WebServer\</OutputPath> 35 <DebugType> full</DebugType>35 <DebugType>portable</DebugType> 36 36 <DebugSymbols>true</DebugSymbols> 37 37 </PropertyGroup> … … 40 40 <DefineConstants>ENABLE_PROFILER</DefineConstants> 41 41 <DebugSymbols>true</DebugSymbols> 42 <DebugType> full</DebugType>42 <DebugType>portable</DebugType> 43 43 </PropertyGroup> 44 44 <ItemGroup> -
TFP-WebServer/WebServer/src/Web.cs
r459 r469 3 3 using System.IO; 4 4 using System.Net.Sockets; 5 using System.Text; 5 6 using SpaceWizards.HttpListener; 6 7 using UnityEngine; … … 235 236 } 236 237 238 request.ContentEncoding = Encoding.UTF8; 237 239 RequestContext context = new RequestContext (requestPath, request, response, conn, permissionLevel); 238 240 -
TFP-WebServer/bin/Mods/TFP_CommandExtensions/ModInfo.xml
r463 r469 5 5 <Description value="Additional commands for server operation" /> 6 6 <Author value="The Fun Pimps LLC" /> 7 <Version value="21.1.16. 0" />7 <Version value="21.1.16.4" /> 8 8 <Website value="" /> 9 9 </xml> -
TFP-WebServer/bin/Mods/TFP_MapRendering/ModInfo.xml
r463 r469 5 5 <Description value="Render the game map to image map tiles as it is uncovered" /> 6 6 <Author value="The Fun Pimps LLC" /> 7 <Version value="21.1.16. 0" />7 <Version value="21.1.16.4" /> 8 8 <Website value="" /> 9 9 </xml> -
TFP-WebServer/bin/Mods/TFP_WebServer/ModInfo.xml
r468 r469 5 5 <Description value="Integrated Webserver for the Web Dashboard and server APIs" /> 6 6 <Author value="The Fun Pimps LLC" /> 7 <Version value="21.1.16. 3" />7 <Version value="21.1.16.4" /> 8 8 <Website value="" /> 9 9 </xml> -
TFP-WebServer/bin/Mods/Xample_MarkersMod/ModInfo.xml
r465 r469 5 5 <Description value="Allows placing custom markers on the web map" /> 6 6 <Author value="Catalysm and Alloc" /> 7 <Version value="21.1.16. 1" />7 <Version value="21.1.16.4" /> 8 8 <Website value="" /> 9 9 </xml>
Note:
See TracChangeset
for help on using the changeset viewer.