mirror of
https://github.com/floci-io/floci.git
synced 2026-11-23 22:11:36 -05:00
fix(s3): remove shadowed hasQueryParam that misrouted presigned PUT with x-amz-tagging header (#1023)
This commit is contained in:
1 parent
9056f80028
commit
a33ce857bb
1 file changed
-7
@@ -2275,13 +2275,6 @@ public class S3Controller {
|
||||
}
|
||||
}
|
||||
|
||||
private boolean hasQueryParam(UriInfo uriInfo, String param) {
|
||||
if (uriInfo.getQueryParameters().containsKey(param)) return true;
|
||||
String query = uriInfo.getRequestUri().getQuery();
|
||||
if (query == null) return false;
|
||||
return query.equals(param) || query.contains(param + "&") || query.contains("&" + param);
|
||||
}
|
||||
|
||||
private static final int MAX_INLINE_TAGS = 10;
|
||||
private static final int MAX_INLINE_TAGGING_HEADER_BYTES = 8 * 1024;
|
||||
|
||||
|
||||
Reference in new issue
Block a user