Skip to content

Commit

Permalink
Fix implemented for both folder browsing and folder download.
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidASeibert committed Dec 20, 2018
1 parent d998084 commit 43324f0
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ FROM openjdk:8
EXPOSE 8080

WORKDIR /usr/src/app
COPY build/libs/ecs-browser-1.0.0.jar ./
COPY build/libs/ecs-browser-1.0.1.jar ./

CMD [ "java", "-jar", "ecs-browser-1.0.0.jar" ]
CMD [ "java", "-jar", "ecs-browser-1.0.1.jar" ]
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
description = "ECS browser website"
group = 'com.emc.ecs'
version = '1.0.0'
version = '1.0.1'

ext.licenseName = ''
ext.licenseUrl = ''
Expand Down Expand Up @@ -30,7 +30,7 @@ defaultTasks 'build'

jar {
baseName = 'ecs-browser'
version = '1.0.0'
version = '1.0.1'
into('META-INF/dependency-license') {
from 'build/reports/dependency-license'
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ public ResponseEntity<?> postProxy(HttpServletRequest request) throws Exception
}
marker = ( lastPrefix.compareTo(lastKey) > 0 ) ? lastPrefix : lastKey;
}
String newUrl = resource + separator + "marker=" + marker;
String newUrl = resource + separator + "marker=" + RestUtil.urlEncode(marker);
System.out.println("Another page after " + marker + " using " + newUrl );
requestEntity = new RequestEntity<byte[]>(data, newHeaders, method, new URI(newUrl));
dataToReturn = new WrappedResponseEntity( client.exchange(requestEntity, ListObjectsResult.class) );
Expand Down Expand Up @@ -284,7 +284,7 @@ public ResponseEntity<?> postProxy(HttpServletRequest request) throws Exception
}
marker = ( lastPrefix.compareTo(lastKey) > 0 ) ? lastPrefix : lastKey;
}
String newUrl = resource + separator + "marker=" + marker;
String newUrl = resource + separator + "marker=" + RestUtil.urlEncode(marker);
System.out.println("Another page after " + marker + " using " + newUrl );
requestEntity = new RequestEntity<byte[]>(data, newHeaders, method, new URI(newUrl));
ResponseEntity<ListObjectsResult> newListResponse = new WrappedResponseEntity( client.exchange(requestEntity, ListObjectsResult.class) );
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/static/javascript/S3Browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ S3Browser = function( options, $parent ) {

// release version
/** @define {string} */
var S3_BROWSER_VERSION = '1.0.0';
var S3_BROWSER_VERSION = '1.0.1';
S3Browser.version = S3_BROWSER_VERSION;

/** @define {boolean} */
Expand Down

0 comments on commit 43324f0

Please sign in to comment.