mirror of
https://github.com/minio/minio.git
synced 2025-11-21 02:09:08 -05:00
allow tagging policy condition for GetObject (#15777)
This commit is contained in:
@@ -810,10 +810,6 @@ func newContext(r *http.Request, w http.ResponseWriter, api string) context.Cont
|
||||
vars := mux.Vars(r)
|
||||
bucket := vars["bucket"]
|
||||
object := likelyUnescapeGeneric(vars["object"], url.PathUnescape)
|
||||
prefix := likelyUnescapeGeneric(vars["prefix"], url.QueryUnescape)
|
||||
if prefix != "" {
|
||||
object = prefix
|
||||
}
|
||||
reqInfo := &logger.ReqInfo{
|
||||
DeploymentID: globalDeploymentID,
|
||||
RequestID: w.Header().Get(xhttp.AmzRequestID),
|
||||
|
||||
Reference in New Issue
Block a user