We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd7c916 commit 08785fbCopy full SHA for 08785fb
+bot/+internal/+fileresource/+abstract/S3Bucket.m
@@ -96,7 +96,10 @@
96
%getDataFileURI Get URI for a data file (file belonging to item)
97
filename = obj.getRelativeFileUriPath(itemObject, fileNickname, varargin{:});
98
baseURI = obj.getDataFolderUri();
99
- strURI = uriJoin(baseURI, filename);
+
100
+ fileNameParts = strsplit(filename, filesep);
101
+ % Todo: Use fullfile if using file:// scheme
102
+ strURI = uriJoin(baseURI, fileNameParts{:});
103
end
104
105
function strURI = getItemTableURI(obj, itemType)
0 commit comments