From 6dcd6326cc5e8ed61ebb5fd4aebfc062bc854772 Mon Sep 17 00:00:00 2001 From: Andrew Molchanov Date: Fri, 1 Mar 2024 20:42:43 +0300 Subject: [PATCH 1/2] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=BE=D1=88=D0=B8=D0=B1=D0=BA=D0=B8?= =?UTF-8?q?=20=D0=BE=D1=82=D0=B4=D0=B0=D1=87=D0=B8=20=D1=84=D0=B0=D0=B9?= =?UTF-8?q?=D0=BB=D0=BE=D0=B2=20=D1=81=20=D0=BF=D1=80=D0=BE=D0=B1=D0=B5?= =?UTF-8?q?=D0=BB=D0=B0=D0=BC=D0=B8=20=D0=B2=20=D0=BD=D0=B0=D0=B7=D0=B2?= =?UTF-8?q?=D0=B0=D0=BD=D0=B8=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../server/src/components/api/webserver/WebServerManager.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/server/src/components/api/webserver/WebServerManager.ts b/packages/server/src/components/api/webserver/WebServerManager.ts index 8951ac3b..40aaed0e 100644 --- a/packages/server/src/components/api/webserver/WebServerManager.ts +++ b/packages/server/src/components/api/webserver/WebServerManager.ts @@ -91,7 +91,7 @@ export class WebServerManager { url = url.replace(/\/{2,}/g, "/").slice(6); if (url.at(-1) === "/") url = url.slice(0, -1); - const path = join(StorageHelper.gameFilesDir, url); + const path = join(StorageHelper.gameFilesDir, decodeURIComponent(url)); // Защита от выхода из директории if (!path.startsWith(StorageHelper.gameFilesDir)) { From 3eb6a2997988e44e1427d266962a18dbc9c48cde Mon Sep 17 00:00:00 2001 From: Andrey Molchanov Date: Mon, 17 Jun 2024 13:28:01 +0300 Subject: [PATCH 2/2] =?UTF-8?q?=D0=91=D1=8D=D0=BA=D0=BF=D0=BE=D1=80=D1=82?= =?UTF-8?q?=D0=B8=D0=BD=D0=B3=20=D0=B8=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D1=8F=20=D1=81=200.0.5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/server/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/server/package.json b/packages/server/package.json index 7da56bf4..075b20f6 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -1,6 +1,6 @@ { "name": "@aurora-launcher/server", - "version": "0.0.4+mirrors", + "version": "0.0.4+1", "branch": "dev", "description": "LauncherServer for AuroraLauncher", "keywords": [