Mark small countries on the map, fit latest catches table, show missing host

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
TomandClaude Opus 5.5 committed 2026-11-15 12:44:23 +01:00
1 parent 6e2ff3f7ee
commit 31cef44bf3
15 files changed
+475 -27

No files matched your search

@@ -41,7 +41,7 @@ internal sealed class FlypaperMiddleware(
var trapContext = new TrapContext(
session,
$"{request.Method} {request.Host}{request.Path}{request.QueryString}",
$"{request.Method} {StoredHost(request.Host)}{request.Path}{request.QueryString}",
request.Headers.UserAgent.ToString());
var outcome = await runner.RunAsync(
@@ -55,6 +55,9 @@ internal sealed class FlypaperMiddleware(
}
}
private static string StoredHost(HostString host) =>
string.IsNullOrEmpty(host.Host) || host.Host == "_" ? "" : host.Value!;
private static bool IsInternalHealthProbe(HttpContext context) =>
context.Request.Path.Equals(HttpTrapOptions.HealthPath, StringComparison.OrdinalIgnoreCase)
&& context.Connection.RemoteIpAddress is { } remoteIp