From a52006383700a9aec2bb0ed27946af0b1fa7ea95 Mon Sep 17 00:00:00 2001 From: "OpenGenesis (MPL 2.0)" <153564363+opengenesislink@users.noreply.github.com> Date: Tue, 17 Nov 2026 13:11:19 +0100 Subject: [PATCH] fix(gen1): accept official Singularity Release 64 viewer channel * fix(gen1): recognize official Singularity Release 64 login channel * test(gen1): cover live Singularity 1.8.9.8338 login and spoof rejection --- OpenSim/Framework/OglApprovedViewerPolicy.cs | 6 ++++-- tools/ci/OglApprovedViewerRegression/Program.cs | 9 +++++++++ 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/OpenSim/Framework/OglApprovedViewerPolicy.cs b/OpenSim/Framework/OglApprovedViewerPolicy.cs index 6c5789d4..6267b740 100644 --- a/OpenSim/Framework/OglApprovedViewerPolicy.cs +++ b/OpenSim/Framework/OglApprovedViewerPolicy.cs @@ -90,8 +90,10 @@ namespace OpenSim.Framework return true; // Official release/beta channels can be appended to the - // canonical family name. No arbitrary channel suffixes. - foreach (string channel in new[] { "-Release", "-Beta", "-Development" }) + // canonical family name. Singularity 1.8.9.8338 also reports + // the exact channel "Singularity Release 64" on the login wire. + // No arbitrary channel suffixes or lookalike names. + foreach (string channel in new[] { "-Release", "-Beta", "-Development", " Release 64" }) { if (suffix.Equals(channel, StringComparison.OrdinalIgnoreCase)) return true; diff --git a/tools/ci/OglApprovedViewerRegression/Program.cs b/tools/ci/OglApprovedViewerRegression/Program.cs index a8448adf..f661ae9b 100644 --- a/tools/ci/OglApprovedViewerRegression/Program.cs +++ b/tools/ci/OglApprovedViewerRegression/Program.cs @@ -110,6 +110,15 @@ internal static class Program Check("singularity viewer-release", "Singularity Viewer-Release", true); Check("Singularity-Release", "", true); Check("Singularity 1.8.9 (8338) Release", "", true); + // Live ROBUST login capture, 2026-11-17: Singularity 1.8.9.8338 + // identifies its channel as "Singularity Release 64". + Check("1.8.9.8338", "Singularity Release 64", true); + Check("1.8.9.8338", "SINGULARITY RELEASE 64", true); + Check("Singularity Release 64", "", true); + Check("1.8.9.8338", "Singularity Release 640", false); + Check("1.8.9.8338", "Singularity Release 64Fake", false); + Check("1.8.9.8338", "Singularity Release 64 Copybot", false); + Check("1.8.9.8338", "Singularity Fake Release 64", false); // Do not accept similarly named viewers, unknown channel aliases, // copybot labels, or strings simply containing the official name.