Revanth14 opened a new pull request, #2098: URL: https://github.com/apache/iceberg-go/pull/2098
## Summary Fixes #2089. Prevent the REST transport from reapplying catalog credentials and custom header defaults when following redirects to unconfigured origins. - Restrict managed authentication to the configured catalog origin. - Allow custom header defaults only for the catalog and configured OAuth endpoint origins. - Compare request URLs against configured origins so custom transports need not populate `Response.Request`. ## Validation - `go test ./catalog/rest` - Relevant redirect and OAuth tests pass with `-race`. - Regression tests cover cross-origin redirects, synthetic redirects without `Response.Request`, same-origin authentication, and custom headers for a separate OAuth endpoint. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
