kopia lustrzana https://github.com/gaul/s3proxy
Check if Authorization header is empty
This resolves s3-tests failures that we missed due to busted CI. Perhaps caused by a newer boto version?pull/377/head
rodzic
d18d0232c8
commit
4700fb3a69
|
@ -369,7 +369,7 @@ public class S3ProxyHandler {
|
|||
boolean presignedUrl = false;
|
||||
|
||||
if (!anonymousIdentity) {
|
||||
if (headerAuthorization == null) {
|
||||
if (Strings.isNullOrEmpty(headerAuthorization)) {
|
||||
String algorithm = request.getParameter("X-Amz-Algorithm");
|
||||
if (algorithm == null) { //v2 query
|
||||
String identity = request.getParameter("AWSAccessKeyId");
|
||||
|
|
Ładowanie…
Reference in New Issue