Fix unsafe link with anonymous shared folder

pull/1/head
yflory 2021-05-06 16:31:56 +02:00
parent ca59a97dec
commit b0352e8252
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}