From 3c88aec034934bcbad30c5ef1cab62cbbdb98e64 Mon Sep 17 00:00:00 2001 From: Timothy Carambat Date: Mon, 11 Sep 2023 22:07:48 +0200 Subject: [PATCH] prevent exports path traversal (#233) --- .../Modals/MangeWorkspace/Documents/index.jsx | 5 +-- server/endpoints/system.js | 31 +++++++++++++------ 2 files changed, 24 insertions(+), 12 deletions(-) diff --git a/frontend/src/components/Modals/MangeWorkspace/Documents/index.jsx b/frontend/src/components/Modals/MangeWorkspace/Documents/index.jsx index 3dcfd337..628f22c5 100644 --- a/frontend/src/components/Modals/MangeWorkspace/Documents/index.jsx +++ b/frontend/src/components/Modals/MangeWorkspace/Documents/index.jsx @@ -177,8 +177,9 @@ export default function DocumentSettings({ workspace }) {