From e7ba8904793e0764ab7f3129fa5c92e4ea9baef5 Mon Sep 17 00:00:00 2001 From: yflory Date: Mon, 18 Nov 2019 14:56:46 +0100 Subject: [PATCH] Fix href re-encryption on setPadTitle --- www/common/outer/userObject.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/www/common/outer/userObject.js b/www/common/outer/userObject.js index 6ba0cd6d2..dd1f30692 100644 --- a/www/common/outer/userObject.js +++ b/www/common/outer/userObject.js @@ -45,6 +45,8 @@ define([ var ids = id ? [id] : exp.findChannels([channel]); ids.forEach(function (i) { var data = exp.getFileData(i, true); + var oldHref = exp.getHref(data); + if (oldHref === href) { return; } data.href = exp.cryptor.encrypt(href); }); };