From d70a577df3662d168612e40035a4237c19bed5b0 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Sun, 20 Sep 2020 12:25:30 +0200 Subject: [PATCH] Prevent the read access to devtools projects without a valid path --- wcfsetup/install/files/acp/templates/devtoolsProjectSync.tpl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wcfsetup/install/files/acp/templates/devtoolsProjectSync.tpl b/wcfsetup/install/files/acp/templates/devtoolsProjectSync.tpl index 1b4650888d..dd439174e7 100644 --- a/wcfsetup/install/files/acp/templates/devtoolsProjectSync.tpl +++ b/wcfsetup/install/files/acp/templates/devtoolsProjectSync.tpl @@ -114,9 +114,10 @@ overflow: hidden; } + + {include file='__devtoolsProjectInstallationJavaScript'} {else}

{@$object->validate()}

{/if} -{include file='__devtoolsProjectInstallationJavaScript'} {include file='footer'} -- 2.20.1