sfx2/source/appl/linkmgr2.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
New commits: commit 7039f8acee67cbf20a4ca2b11e8bec5ac8a94414 Author: Andreas Heinisch <andreas.heini...@yahoo.de> AuthorDate: Sun Aug 24 11:35:47 2025 +0200 Commit: Andreas Heinisch <andreas.heini...@yahoo.de> CommitDate: Tue Aug 26 15:06:38 2025 +0200 tdf#168089 - Don't URL encode filename for the update links confirmation dialog Change-Id: I9f3b6b7ae342e64c60ee9bf635cd64d7eb32b226 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190132 Tested-by: Jenkins Reviewed-by: Andreas Heinisch <andreas.heini...@yahoo.de> diff --git a/sfx2/source/appl/linkmgr2.cxx b/sfx2/source/appl/linkmgr2.cxx index 6d9bb0476e17..bc3d82534be7 100644 --- a/sfx2/source/appl/linkmgr2.cxx +++ b/sfx2/source/appl/linkmgr2.cxx @@ -343,7 +343,9 @@ void LinkManager::UpdateAllLinks( OUString aMsg = SfxResId(STR_QUERY_UPDATE_LINKS); INetURLObject aURL(pPersist->getDocumentBaseURL()); - aMsg = aMsg.replaceFirst("%{filename}", aURL.GetLastName()); + // tdf#168089 - don't URL encode filename for the update links confirmation dialog + aMsg = aMsg.replaceFirst("%{filename}", + aURL.GetLastName(INetURLObject::DecodeMechanism::Unambiguous)); std::unique_ptr<weld::MessageDialog> xQueryBox(Application::CreateMessageDialog(pParentWin, VclMessageType::Question, VclButtonsType::YesNo, aMsg));