Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(s3config): Accept S3 URL as url escaped. #8455

Closed
wants to merge 2 commits into from

Conversation

kavirajk
Copy link
Contributor

@kavirajk kavirajk commented Feb 7, 2023

What this PR does / why we need it:
Sometimes we need to store just escaped URL in the config like S3 URL that contains credentials which can include characters like : and /. Currently we cannot use normal flagext.URLValue as it just uses unescaped URL.

Introduced this type in another PR
grafana/dskit#265

Which issue(s) this PR fixes:
Fixes #1607

Special notes for your reviewer:

Checklist

  • Reviewed the CONTRIBUTING.md guide (required)
  • Documentation added
  • Tests updated
  • CHANGELOG.md updated
  • Changes that require user attention or interaction to upgrade are documented in docs/sources/upgrading/_index.md

Fixes: #1607

Introduced this type in another PR
grafana/dskit#265
go.mod Outdated
@@ -48,7 +48,7 @@ require (
github.com/gorilla/mux v1.8.0
github.com/gorilla/websocket v1.5.0
github.com/grafana/cloudflare-go v0.0.0-20230110200409-c627cf6792f2
github.com/grafana/dskit v0.0.0-20230201083518-528d8a7d52f2
github.com/grafana/dskit v0.0.0-20230207212244-6b8c28bc192e
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will update the hash once dskit PR got merged.
grafana/dskit#265

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

s3_secret_access_key does not allow slashes
2 participants