kopia lustrzana https://github.com/gaul/s3proxy
handle empty prefix as if it's missing
rodzic
44d68dd051
commit
8fa555d093
|
@ -791,7 +791,7 @@ final class S3ProxyHandler extends AbstractHandler {
|
|||
options = options.recursive();
|
||||
}
|
||||
String prefix = request.getParameter("prefix");
|
||||
if (prefix != null) {
|
||||
if (prefix != null && !prefix.isEmpty()) {
|
||||
options = options.inDirectory(prefix);
|
||||
}
|
||||
String marker = request.getParameter("marker");
|
||||
|
|
Ładowanie…
Reference in New Issue