Skip to content

branch-4.1: [fix](fe) Mask sensitive headers in stream load logs #62108 - #62594

Merged
yiguolei merged 1 commit into
branch-4.1from
auto-pick-62108-branch-4.1
Apr 20, 2026
Merged

branch-4.1: [fix](fe) Mask sensitive headers in stream load logs #62108#62594
yiguolei merged 1 commit into
branch-4.1from
auto-pick-62108-branch-4.1

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Cherry-picked from #62108

FE stream load REST logs printed full request headers, which could leak Authorization and token values into INFO logs.
Changes:
- Mask values for a small set of sensitive headers (e.g., Authorization, token) in getAllHeaders()
- Add isSensitiveHeader() helper to centralize the masking decision
@yiguolei

Copy link
Copy Markdown
Contributor

run buildall

@yiguoleiyiguolei reopened this Apr 20, 2026
@github-actionsgithub-actionsBot added the approved Indicates a PR has been approved by one committer. label Apr 20, 2026
@github-actions

Copy link
Copy Markdown
ContributorAuthor

PR approved by at least one committer and no changes requested.

@github-actions

Copy link
Copy Markdown
ContributorAuthor

PR approved by anyone and no changes requested.

@yiguolei
yiguolei merged commit f10368e into branch-4.1Apr 20, 2026
28 of 32 checks passed
@hello-stephen

Copy link
Copy Markdown
Contributor

FE Regression Coverage Report

Increment line coverage 42.86% (3/7) 🎉
Increment coverage report
Complete coverage report

@morningman
morningman deleted the auto-pick-62108-branch-4.1 branch July 8, 2026 14:09
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approvedIndicates a PR has been approved by one committer.reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@yiguolei@hello-stephen@liaoxin01