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
This commit is contained in:
1 parent
3f2629dd57
commit
a520063837
2 files changed
+13
-2
No files matched your search
@@ -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;
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user