diff --git a/src/main/java/org/gcube/portlets/user/shareupdates/server/ShareUpdateServiceImpl.java b/src/main/java/org/gcube/portlets/user/shareupdates/server/ShareUpdateServiceImpl.java index 633b6c0..7e8cec9 100644 --- a/src/main/java/org/gcube/portlets/user/shareupdates/server/ShareUpdateServiceImpl.java +++ b/src/main/java/org/gcube/portlets/user/shareupdates/server/ShareUpdateServiceImpl.java @@ -331,7 +331,7 @@ public class ShareUpdateServiceImpl extends RemoteServiceServlet implements Shar String smpURI = ""; if (isWithinPortal()) { //get the url to show, before actually uploading it - smpURI = storageClient.getUrl().RFile(remoteFilePath); + smpURI = storageClient.getUrl(true).RFile(remoteFilePath); //The storage uploader Thread starts here asyncronously Thread thread = new Thread(new UploadToStorageThread(storageClient, fileName, fileabsolutePathOnServer, remoteFilePath));