Reduce crashing on LBP3 (#468)

* Implement additional lbp3 endpoints

* Cleanup lbp3 changes

* Update return content types

* Fix developer video return type

* I forgot how xml works

* I need to go to bed
This commit is contained in:
Josh 2022-09-01 01:05:39 -05:00 committed by GitHub
commit b1ad4d3218
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 33 additions and 5 deletions

View file

@ -128,7 +128,7 @@ public class GameServerStartup
// The game doesn't start sending digests until after the announcement so if it's not one of those requests
// and it doesn't include a digest we need to reject the request
else if (!ServerStatics.IsUnitTesting && !strippedPath.Equals("/login") && !strippedPath.Equals("/eula")
&& !strippedPath.Equals("/announce") && !strippedPath.Equals("/status"))
&& !strippedPath.Equals("/announce") && !strippedPath.Equals("/status") && !strippedPath.Equals("/farc_hashes"))
{
context.Response.StatusCode = 403;
return;