[Libreoffice-commits] online.git: Branch 'distro/collabora/collabora-online-cd-3-2' - wsd/Storage.cpp

Ashod Nakashian ashod.nakashian at collabora.co.uk
Mon Jun 18 23:14:23 UTC 2018


 wsd/Storage.cpp |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit cde39d802f67de2b99cc26f22ff0f76f961d917a
Author: Ashod Nakashian <ashod.nakashian at collabora.co.uk>
Date:   Mon Jun 18 19:10:30 2018 -0400

    wsd: log wopi CheckFileInfo with correct casing
    
    Change-Id: I3e5e0000168ed6cf8910f593443a6b54324079c2
    Reviewed-on: https://gerrit.libreoffice.org/56073
    Reviewed-by: Ashod Nakashian <ashnakash at gmail.com>
    Tested-by: Ashod Nakashian <ashnakash at gmail.com>

diff --git a/wsd/Storage.cpp b/wsd/Storage.cpp
index 52d64cf32..b07c0d910 100644
--- a/wsd/Storage.cpp
+++ b/wsd/Storage.cpp
@@ -472,11 +472,11 @@ std::unique_ptr<WopiStorage::WOPIFileInfo> WopiStorage::getWOPIFileInfo(const Au
             // Set anonymized version of the above fields before logging.
             // Note: anonymization caches the result, so we don't need to store here.
             if (LOOLWSD::AnonymizeFilenames)
-                object->set("basefilename", LOOLWSD::anonymizeUrl(filename));
+                object->set("BaseFileName", LOOLWSD::anonymizeUrl(filename));
 
             if (LOOLWSD::AnonymizeUsernames)
             {
-                object->set("ownerid", LOOLWSD::anonymizeUsername(ownerId));
+                object->set("OwnerId", LOOLWSD::anonymizeUsername(ownerId));
                 object->set("UserId", LOOLWSD::anonymizeUsername(userId));
                 object->set("UserFriendlyName", LOOLWSD::anonymizeUsername(userName));
             }
@@ -487,11 +487,11 @@ std::unique_ptr<WopiStorage::WOPIFileInfo> WopiStorage::getWOPIFileInfo(const Au
 
             // Remove them for performance reasons; they aren't needed anymore.
             if (LOOLWSD::AnonymizeFilenames)
-                object->remove("basefilename");
+                object->remove("BaseFileName");
 
             if (LOOLWSD::AnonymizeUsernames)
             {
-                object->remove("ownerid");
+                object->remove("OwnerId");
                 object->remove("UserId");
                 object->remove("UserFriendlyName");
             }


More information about the Libreoffice-commits mailing list