-
Notifications
You must be signed in to change notification settings - Fork 613
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
Support detecting region from FIPS URLs #1663
Support detecting region from FIPS URLs #1663
Conversation
Signed-off-by: Balasankar 'Balu' C <balu@dravidam.net>
8f05ea4
to
ccb390c
Compare
@harshavardhana Could you please take a look? Thanks. (Apologies if pinging you directly wasn't the right thing to do. I checked the Contributor's guide and couldn't find what I should be doing to request reviews) |
var amazonS3HostFIPS = regexp.MustCompile(`^s3-fips.(.*?).amazonaws.com$`) | ||
|
||
// amazonS3HostFIPSDualStack - regular expression used to determine if an arg is s3 FIPS host dualstack. | ||
var amazonS3HostFIPSDualStack = regexp.MustCompile(`^s3-fips.dualstack.(.*?).amazonaws.com$`) |
Check failure
Code scanning / CodeQL
Incomplete regular expression for hostnames
@harshavardhana Thanks a lot for the quick action on this one. Much appreciated. BTW, is a new patch release planned anytime soon? Asking because this issue essentially prevents users from using FIPS endpoints for the GitLab Runner cache - https://gitlab.com/gitlab-org/gitlab-runner/-/issues/29112 |
Previously minio-go did not properly detect the region when AWS FIPS endpoint were used. minio/minio-go#1663 fixes this issue. Relates to https://gitlab.com/gitlab-org/gitlab-runner/-/issues/29112
Attempt to fix #1662