Skip to content

Commit

Permalink
remove timestamp validation for requests that use query string authen…
Browse files Browse the repository at this point in the history
…tication
  • Loading branch information
timursaikaliev committed Jun 14, 2024
1 parent a82ca68 commit 0eab2b1
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/main/java/org/gaul/s3proxy/S3ProxyHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -447,9 +447,6 @@ public final void doHandle(HttpServletRequest baseRequest,
dateSkew = parseIso8601(request.getHeader(
AwsHttpHeaders.DATE));
}
} else if (request.getParameter("X-Amz-Date") != null) { // v4 query
String dateString = request.getParameter("X-Amz-Date");
dateSkew = parseIso8601(dateString);
} else if (hasDateHeader) {
try {
dateSkew = request.getDateHeader(HttpHeaders.DATE);
Expand Down

0 comments on commit 0eab2b1

Please sign in to comment.