diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2019-02-15 06:38:32 +0300 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-02-15 11:10:19 +0100 |
commit | d9f9a9e56d558174cb5ff96c3bb78a5692a26570 (patch) | |
tree | f6e5a2f5a9eaa2912c416f243d760fed41c2b26a /registry/inc | |
parent | move Calendar to vcl and map to GtkCalendar (diff) | |
download | core-d9f9a9e56d558174cb5ff96c3bb78a5692a26570.tar.gz core-d9f9a9e56d558174cb5ff96c3bb78a5692a26570.zip |
tdf#123474: use INetURLObject methods to construct valid URI
This ensures that no extra slashes are added to the path when it
already ends with a slash; for Windows drive root path (e.g. C:\)
the trailing slash is always kept to not change the meaning to
"current path on the drive", which is different from "root of the
drive". Our IsValidFilePath does not allow more than one slash
after <drive:>.
Change-Id: Ife3cd9e146573a0c278834f795f0d7318c2d303a
Reviewed-on: https://gerrit.libreoffice.org/67850
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'registry/inc')
0 files changed, 0 insertions, 0 deletions