From 9e0cb930850569a672429554fe130e56513a6e99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Sun, 8 Mar 2026 12:40:22 +0100 Subject: [PATCH] Workaround in remote disk streaming server --- Core/WebServer.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Core/WebServer.cpp b/Core/WebServer.cpp index 05d0c428d2..9c0c469495 100644 --- a/Core/WebServer.cpp +++ b/Core/WebServer.cpp @@ -191,6 +191,10 @@ static std::string RemotePathForRecent(const std::string &filename) { } static Path LocalFromRemotePath(std::string_view path) { + // This happens for some reason... + if (startsWith(path, "//")) { + path.remove_prefix(1); + } switch ((RemoteISOShareType)g_Config.iRemoteISOShareType) { case RemoteISOShareType::RECENT: for (const std::string &filename : g_recentFiles.GetRecentFiles()) {