Skip to content

fix(rest): improve REST catalog configuration and error handling - #1003

Open
lishuxu wants to merge 1 commit into
apache:mainfrom
lishuxu:feature/dev-1
Open

lishuxu wants to merge 1 commit into
apache:mainfrom
lishuxu:feature/dev-1

Conversation

@lishuxu

@lishuxu lishuxu commented Oct 12, 2026

Copy link
Copy Markdown
Contributor

This commit improves the robustness of REST catalog operations:

  • Disable HTTP redirects in REST catalog requests to prevent unexpected behavior with signed requests and custom authentication headers
  • Filter server-provided configuration to prevent override of client-specified authentication settings
  • Improve JSON parse error messages to avoid exposing sensitive data in logs by reporting only type information instead of full values
  • Add log sanitizer utility to redact sensitive configuration values from application logs

This commit improves the robustness of REST catalog operations:

- Filter server-provided configuration to prevent override of
  client-specified authentication settings
- Improve JSON parse error messages to avoid exposing sensitive data
  in logs by reporting only type information instead of full values
- Add log sanitizer utility to redact sensitive configuration values
  from application logs

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant