sfx2/source/appl/linkmgr2.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 0d9b65eed8f518af5108f2587c2b237af9463622
Author:     Andreas Heinisch <andreas.heini...@yahoo.de>
AuthorDate: Tue Aug 26 17:45:14 2025 +0200
Commit:     Andreas Heinisch <andreas.heini...@yahoo.de>
CommitDate: Tue Aug 26 21:03:51 2025 +0200

    tdf#168089 - Don't URL encode filename for the update links confirmation 
dialog
    
    Change-Id: Ib0f9bdb71b13bf7a6c1fdd9631c6ed13d48fd273
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190231
    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 bc3d82534be7..01febae9df5f 100644
--- a/sfx2/source/appl/linkmgr2.cxx
+++ b/sfx2/source/appl/linkmgr2.cxx
@@ -345,7 +345,7 @@ void LinkManager::UpdateAllLinks(
             INetURLObject aURL(pPersist->getDocumentBaseURL());
             // tdf#168089 - don't URL encode filename for the update links 
confirmation dialog
             aMsg = aMsg.replaceFirst("%{filename}",
-                                     
aURL.GetLastName(INetURLObject::DecodeMechanism::Unambiguous));
+                                     
aURL.GetLastName(INetURLObject::DecodeMechanism::WithCharset));
 
             std::unique_ptr<weld::MessageDialog> 
xQueryBox(Application::CreateMessageDialog(pParentWin,
                                                            
VclMessageType::Question, VclButtonsType::YesNo, aMsg));

Reply via email to