desktop/source/deployment/gui/dp_gui_updateinstalldialog.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 3f4b83f03078e16e0459e1ca7cbe1fc1ba5d1332
Author:     Mike Kaganski <mike.kagan...@collabora.com>
AuthorDate: Wed Jul 23 09:59:44 2025 +0200
Commit:     Mike Kaganski <mike.kagan...@collabora.com>
CommitDate: Wed Jul 23 11:38:32 2025 +0200

    Fix creation of result URL
    
    It was just concatenating the base URL and title.
    
    But the title is unencoded, and so the result URL could happen to
    be invalid.
    
    Change-Id: Ib7890fb5a4bad83bd324e1995e1aabd4085d64b1
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188201
    Reviewed-by: Mike Kaganski <mike.kagan...@collabora.com>
    Tested-by: Jenkins

diff --git a/desktop/source/deployment/gui/dp_gui_updateinstalldialog.cxx 
b/desktop/source/deployment/gui/dp_gui_updateinstalldialog.cxx
index abd85d67a50c..21b0cf091e37 100644
--- a/desktop/source/deployment/gui/dp_gui_updateinstalldialog.cxx
+++ b/desktop/source/deployment/gui/dp_gui_updateinstalldialog.cxx
@@ -576,7 +576,7 @@ bool UpdateInstallDialog::Thread::download(OUString const & 
sDownloadURL, Update
             return m_stop;
         }
         //all errors should be handled by the command environment.
-        aUpdateData.sLocalURL = destFolder + "/" + sTitle;
+        aUpdateData.sLocalURL = 
dp_misc::makeURLAppendSysPathSegment(destFolder, sTitle);
     }
 
     return m_stop;

Reply via email to