Skip to content

Commit

Permalink
Fixed: #3272 - Upload of files, data, zip stopped working after Spring
Browse files Browse the repository at this point in the history
Boot 3.2 upgrade
  • Loading branch information
delchev committed Jan 23, 2024
1 parent 56a578a commit 5cbd56c
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,14 +99,14 @@ importView.controller('ImportViewController', [
item.headers = {
'Dirigible-Editor': 'Editor'
};
item.url = new UriBuilder().path(transportApi.getFileImportUrl().split('/')).path($scope.selectedWorkspace.name).path($scope.uploadPath.split('/')).path(item.name).path('/').build();
item.url = new UriBuilder().path(transportApi.getFileImportUrl().split('/')).path($scope.selectedWorkspace.name).path($scope.uploadPath.split('/')).path(item.name).build();
} else if ($scope.inDialog && $scope.importType === 'data') {
item.headers = {
'Dirigible-Editor': 'Editor'
};
item.url = new UriBuilder().path($scope.selectedWorkspace.name).path($scope.uploadPath.split('/')).path(item.name).path('/').build();
item.url = new UriBuilder().path($scope.selectedWorkspace.name).path($scope.uploadPath.split('/')).path(item.name).build();
} else {
item.url = new UriBuilder().path(transportApi.getZipImportUrl().split('/')).path($scope.selectedWorkspace.name).path($scope.uploadPath.split('/')).path('/').build();
item.url = new UriBuilder().path(transportApi.getZipImportUrl().split('/')).path($scope.selectedWorkspace.name).path($scope.uploadPath.split('/')).build();
}
}
};
Expand Down

0 comments on commit 5cbd56c

Please sign in to comment.