summaryrefslogtreecommitdiff
path: root/officecfg
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2018-08-15 12:35:30 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2018-08-15 18:56:50 +0200
commitf24b0ec13c5c8edda5ffb1336b0eb6da173dfc97 (patch)
tree5079d5546c3cfbfcd53c8ba22870f8eaf68d520d /officecfg
parentb3b5abf3fdb0e088f6b902a22c3434e7176513c1 (diff)
tdf#118990: use full URI for absolute references
Previously (since commit 7eb5e135422f1a5830a44d129300bc3fafb4627d) only path relative to reference host was stored, and host itself was dropped. That resulted in URIs like "/share/file.xlsx", even without scheme. For Windows shares, this broke UNC paths like "\\HOSTNAME\share\file.xlsx" (which are stored in XLSX by Excel as "file:///\\HOSTNAME\share\file.xlsx"), and on subsequent import, this resulted in paths on the same drive as the document (like "C:\share\file.xlsx"). With this change, we will store "file://HOSTNAME/share/file.xlsx", which is correctly processed by both LibreOffice and MS Excel. Change-Id: I3f13aa0b3ae8dc41ec28eaa1416d536469c4562a Reviewed-on: https://gerrit.libreoffice.org/59064 Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Tested-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'officecfg')
0 files changed, 0 insertions, 0 deletions