summaryrefslogtreecommitdiff
path: root/vendor/github.com/minio/minio-go/v7/api-get-options.go
diff options
context:
space:
mode:
authorLibravatar dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>2024-01-03 10:34:54 +0000
committerLibravatar GitHub <noreply@github.com>2024-01-03 10:34:54 +0000
commit0cb1dd493c81cbcdcd5d9ce925d2ce42b8ab8afd (patch)
treed7e4f2a72ff853168d25cc0faac8020b5631edd0 /vendor/github.com/minio/minio-go/v7/api-get-options.go
parent[bugfix] increases sleep time before check in throttle test, to give more lee... (diff)
downloadgotosocial-0cb1dd493c81cbcdcd5d9ce925d2ce42b8ab8afd.tar.xz
[chore]: Bump github.com/minio/minio-go/v7 from 7.0.65 to 7.0.66 (#2467)
Bumps [github.com/minio/minio-go/v7](https://github.com/minio/minio-go) from 7.0.65 to 7.0.66. - [Release notes](https://github.com/minio/minio-go/releases) - [Commits](https://github.com/minio/minio-go/compare/v7.0.65...v7.0.66) --- updated-dependencies: - dependency-name: github.com/minio/minio-go/v7 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: kim <89579420+NyaaaWhatsUpDoc@users.noreply.github.com>
Diffstat (limited to 'vendor/github.com/minio/minio-go/v7/api-get-options.go')
-rw-r--r--vendor/github.com/minio/minio-go/v7/api-get-options.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/vendor/github.com/minio/minio-go/v7/api-get-options.go b/vendor/github.com/minio/minio-go/v7/api-get-options.go
index bb86a5994..a0216e201 100644
--- a/vendor/github.com/minio/minio-go/v7/api-get-options.go
+++ b/vendor/github.com/minio/minio-go/v7/api-get-options.go
@@ -87,10 +87,10 @@ func (o *GetObjectOptions) Set(key, value string) {
}
// SetReqParam - set request query string parameter
-// supported key: see supportedQueryValues.
+// supported key: see supportedQueryValues and allowedCustomQueryPrefix.
// If an unsupported key is passed in, it will be ignored and nothing will be done.
func (o *GetObjectOptions) SetReqParam(key, value string) {
- if !isStandardQueryValue(key) {
+ if !isCustomQueryValue(key) && !isStandardQueryValue(key) {
// do nothing
return
}
@@ -101,10 +101,10 @@ func (o *GetObjectOptions) SetReqParam(key, value string) {
}
// AddReqParam - add request query string parameter
-// supported key: see supportedQueryValues.
+// supported key: see supportedQueryValues and allowedCustomQueryPrefix.
// If an unsupported key is passed in, it will be ignored and nothing will be done.
func (o *GetObjectOptions) AddReqParam(key, value string) {
- if !isStandardQueryValue(key) {
+ if !isCustomQueryValue(key) && !isStandardQueryValue(key) {
// do nothing
return
}