[Libreoffice-commits] online.git: Branch 'distro/collabora/collabora-online-2-1' - 3 commits - etc/ca-chain.cert.pem etc/cert.pem etc/key.pem wsd/DocumentBroker.cpp wsd/LOOLWSD.hpp

Andras Timar andras.timar at collabora.com
Wed Apr 18 07:46:12 UTC 2018


 etc/ca-chain.cert.pem  |   89 +++++++++++--------------------------------------
 etc/cert.pem           |   51 +++++++++-------------------
 etc/key.pem            |   50 +++++++++++++--------------
 wsd/DocumentBroker.cpp |    6 ++-
 wsd/LOOLWSD.hpp        |    7 ++-
 5 files changed, 73 insertions(+), 130 deletions(-)

New commits:
commit e126149e225c18f8d5a20d0b8739550b96f24e26
Author: Andras Timar <andras.timar at collabora.com>
Date:   Sat Apr 14 17:50:46 2018 +0200

    new dummy ssl key and cert for testing
    
    Change-Id: Ia2586c4201696e0d80d2be3f284564e65fac71c0
    Reviewed-on: https://gerrit.libreoffice.org/52874
    Reviewed-by: Andras Timar <andras.timar at collabora.com>
    Tested-by: Andras Timar <andras.timar at collabora.com>
    (cherry picked from commit 558e20f98142ae85786ec9a5214bf5ef734f25b4)
    Signed-off-by: Andras Timar <andras.timar at collabora.com>

diff --git a/etc/ca-chain.cert.pem b/etc/ca-chain.cert.pem
index 5793ad42b..7ed7f4bc0 100644
--- a/etc/ca-chain.cert.pem
+++ b/etc/ca-chain.cert.pem
@@ -1,71 +1,22 @@
 -----BEGIN CERTIFICATE-----
-MIIGLDCCBBSgAwIBAgICEAAwDQYJKoZIhvcNAQELBQAwgaoxCzAJBgNVBAYTAkdC
-MRAwDgYDVQQIDAdFbmdsYW5kMRIwEAYDVQQHDAlDYW1icmlkZ2UxIzAhBgNVBAoM
-GkNvbGxhYm9yYSBQcm9kdWN0aXZpdHkgTHRkMSUwIwYDVQQDDBxDb2xsYWJvcmEg
-Q2xvdWRTdWl0ZSBSb290IENBMSkwJwYJKoZIhvcNAQkBFhphbmRyYXMudGltYXJA
-Y29sbGFib3JhLmNvbTAeFw0xNjAzMjMxMzU3NTdaFw0yNj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XCAp
+3Hgp/4ZfbZGfrcSLEXdkT7lqBhcG2WpAI3bX1VaH0XsNrVn04gLYrSQU1mfAmiv+
+cXDtyZ/In4do5/fo62+pSQKBgAyYAQyzeYZNwLeY9deB/zM4mqLodI2yLFwXSXyY
+o9g8ceUFKo39uAjQals9fOzvokcFL5Clo+AziqG8JYd5ZXcCEWSpULu8KfjO3Bq6
+Gez6P3hbKBTD1xw27esqpYN1KvHiM/aGTHpVd/nXkVuioTVsRV76/k54pMn/8/Fn
+NEdlAoGAFuIdHu0SL1HwziZYrUZFaRcNyDMMPdiWQai1I/5T7bR0g52GpdGnM1GK
+k7qSLlshG8cYv4eEfAU2LxhFoq4qSfI8CJbp6TSsQINDQLlc/5kRsirf5mGT8mf5
+KfL5tMns3XZ511edSieiUoyt11+STEDU9+7p+uCY7VUWnsAouII=
 -----END RSA PRIVATE KEY-----
commit 566e1ec1f89d86c0c259a5fd19aaefa653f6472b
Author: Andras Timar <andras.timar at collabora.com>
Date:   Fri Feb 16 17:23:25 2018 +0100

    tdf#115595 open editable documents with upper case or mixed case file extensions in edit mode
    
    Change-Id: I6ea60926ce0ec4d1323080ffec5152d2bbeefc31
    Reviewed-on: https://gerrit.libreoffice.org/49867
    Reviewed-by: Andras Timar <andras.timar at collabora.com>
    Tested-by: Andras Timar <andras.timar at collabora.com>
    (cherry picked from commit 6a914ecbb95e565de51e33e4daeab3c78baeab2b)
    Signed-off-by: Andras Timar <andras.timar at collabora.com>

diff --git a/wsd/LOOLWSD.hpp b/wsd/LOOLWSD.hpp
index ad858a4e4..722df0380 100644
--- a/wsd/LOOLWSD.hpp
+++ b/wsd/LOOLWSD.hpp
@@ -10,6 +10,7 @@
 #ifndef INCLUDED_LOOLWSD_HPP
 #define INCLUDED_LOOLWSD_HPP
 
+#include <algorithm>
 #include <atomic>
 #include <map>
 #include <set>
@@ -89,10 +90,12 @@ public:
         return LOOLWSD::SSLTermination.get();
     }
 
-    /// Return truee iff extension is marked as view action in discovery.xml.
+    /// Return true iff extension is marked as view action in discovery.xml.
     static bool IsViewFileExtension(const std::string& extension)
     {
-        return EditFileExtensions.find(extension) == EditFileExtensions.end();
+        std::string lowerCaseExtension = extension;
+        std::transform(lowerCaseExtension.begin(), lowerCaseExtension.end(), lowerCaseExtension.begin(), ::tolower);
+        return EditFileExtensions.find(lowerCaseExtension) == EditFileExtensions.end();
     }
 
     /// Returns the value of the specified application configuration,
commit ff809473e7447b3069e80f53cd3bc69e4d3686aa
Author: Andras Timar <andras.timar at collabora.com>
Date:   Sun Feb 18 00:24:08 2018 +0100

    wsd: encode '#' character in file name
    
    Change-Id: I4d10f38c9025f18a0d0f0f5599892b436b9d002c
    Reviewed-on: https://gerrit.libreoffice.org/49919
    Reviewed-by: Andras Timar <andras.timar at collabora.com>
    Tested-by: Andras Timar <andras.timar at collabora.com>
    (cherry picked from commit dde84d17064926f457b6ef7c6ebd9d595ac837b9)
    Signed-off-by: Andras Timar <andras.timar at collabora.com>

diff --git a/wsd/DocumentBroker.cpp b/wsd/DocumentBroker.cpp
index 93d285f9c..4e3094b54 100644
--- a/wsd/DocumentBroker.cpp
+++ b/wsd/DocumentBroker.cpp
@@ -596,7 +596,11 @@ bool DocumentBroker::load(const std::shared_ptr<ClientSession>& session, const s
         LOG_INF("SHA1 for DocKey [" << _docKey << "] of [" << localPath << "]: " <<
                 Poco::DigestEngine::digestToHex(sha1.digest()));
 
-        _uriJailed = Poco::URI(Poco::URI("file://"), localPath);
+        // LibreOffice can't open files with '#' in the name
+        std::string localPathEncoded;
+        Poco::URI::encode(localPath,"#",localPathEncoded);
+        _uriJailed = Poco::URI(Poco::URI("file://"), localPathEncoded);
+
         _filename = fileInfo._filename;
 
         // Use the local temp file's timestamp.


More information about the Libreoffice-commits mailing list