From 04843d3fa89ca771ad48558e5bc3d0db4fbd568e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damian=20B=C3=BCchel?= Date: Mon, 1 Jul 2024 15:25:08 +0200 Subject: [PATCH] SEBWIN-907: Fixed bug where start URL query parameters wouldn't be applied when using SEB Server. --- SafeExamBrowser.Runtime/Operations/ServerOperation.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/SafeExamBrowser.Runtime/Operations/ServerOperation.cs b/SafeExamBrowser.Runtime/Operations/ServerOperation.cs index 47963698..1fca830b 100644 --- a/SafeExamBrowser.Runtime/Operations/ServerOperation.cs +++ b/SafeExamBrowser.Runtime/Operations/ServerOperation.cs @@ -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;