From f86e04a7c6cff63591362c6dafa5973d4ea4d878 Mon Sep 17 00:00:00 2001 From: Acts1631 Date: Thu, 3 Sep 2026 10:05:21 -0400 Subject: [PATCH] Fix startup web server flag selection Pass the flags selected from the independent remote sharing and debugger startup settings instead of enabling every web service. This keeps remote disc sharing from exposing the unauthenticated debugger and upload handlers. --- UI/NativeApp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UI/NativeApp.cpp b/UI/NativeApp.cpp index 1c90474bc2..1435c92907 100644 --- a/UI/NativeApp.cpp +++ b/UI/NativeApp.cpp @@ -835,7 +835,7 @@ void NativeInit(int argc, const char *argv[], const CommandLineOptions &cmdLineO flags |= WebServerFlags::DEBUGGER; } if (flags != WebServerFlags::NONE) { - StartWebServer(WebServerFlags::ALL); + StartWebServer(flags); } std::string sysName = System_GetProperty(SYSPROP_NAME);