From a33ce857bb146c6e98eb17110106e580080d6f15 Mon Sep 17 00:00:00 2001 From: Hector Ventura Date: Sun, 24 May 2026 16:44:50 -0500 Subject: [PATCH] fix(s3): remove shadowed hasQueryParam that misrouted presigned PUT with x-amz-tagging header (#1023) --- .../github/hectorvent/floci/services/s3/S3Controller.java | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/main/java/io/github/hectorvent/floci/services/s3/S3Controller.java b/src/main/java/io/github/hectorvent/floci/services/s3/S3Controller.java index 0adec0de25..294279a7e5 100644 --- a/src/main/java/io/github/hectorvent/floci/services/s3/S3Controller.java +++ b/src/main/java/io/github/hectorvent/floci/services/s3/S3Controller.java @@ -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;