kopia lustrzana https://github.com/gaul/s3proxy
rodzic
ff68288e3a
commit
1e5ebadee4
|
@ -674,8 +674,7 @@ public class S3ProxyHandler {
|
||||||
switch (method) {
|
switch (method) {
|
||||||
case "GET":
|
case "GET":
|
||||||
if (uri.equals("/")) {
|
if (uri.equals("/")) {
|
||||||
handleContainerList(response, blobStore);
|
throw new S3Exception(S3ErrorCode.ACCESS_DENIED);
|
||||||
return;
|
|
||||||
} else if (path.length <= 2 || path[2].isEmpty()) {
|
} else if (path.length <= 2 || path[2].isEmpty()) {
|
||||||
String containerName = path[1];
|
String containerName = path[1];
|
||||||
ContainerAccess access = blobStore.getContainerAccess(
|
ContainerAccess access = blobStore.getContainerAccess(
|
||||||
|
|
Ładowanie…
Reference in New Issue