From b0352e8252be05c1d3c94a4651084820fcff01a9 Mon Sep 17 00:00:00 2001 From: yflory Date: Thu, 6 May 2021 16:31:56 +0200 Subject: [PATCH] Fix unsafe link with anonymous shared folder --- www/common/drive-ui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/common/drive-ui.js b/www/common/drive-ui.js index 87c40ffd4..aea222188 100644 --- a/www/common/drive-ui.js +++ b/www/common/drive-ui.js @@ -1125,7 +1125,7 @@ define([ var priv = metadataMgr.getPrivateData(); var useUnsafe = Util.find(priv, ['settings', 'security', 'unsafeLinks']); - if (useUnsafe === true) { + if (useUnsafe === true || APP.newSharedFolder) { return void window.open(APP.origin + href); }