SEBWIN-907: Fixed bug where start URL query parameters wouldn't be applied when using SEB Server.

This commit is contained in:
Damian Büchel 2024-07-01 15:25:08 +02:00
parent a3c9271faf
commit 04843d3fa8

View file

@ -169,6 +169,7 @@ namespace SafeExamBrowser.Runtime.Operations
if (status == LoadStatus.Success)
{
var browserSettings = Context.Next.Settings.Browser;
var serverSettings = Context.Next.Settings.Server;
Context.Next.AppConfig.ServerApi = info.Api;
@ -178,6 +179,7 @@ namespace SafeExamBrowser.Runtime.Operations
Context.Next.Settings = settings;
Context.Next.Settings.Browser.StartUrl = exam.Url;
Context.Next.Settings.Browser.StartUrlQuery = browserSettings.StartUrlQuery;
Context.Next.Settings.Server = serverSettings;
Context.Next.Settings.SessionMode = SessionMode.Server;