fix(s3): remove shadowed hasQueryParam that misrouted presigned PUT with x-amz-tagging header (#1023)

This commit is contained in:
Hector Ventura authored and GitHub committed 2026-05-24 16:44:50 -05:00
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;