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

Remove non-ascii header values instead of failing #2848

Merged
merged 1 commit into from
Sep 19, 2024

Conversation

lann
Copy link
Collaborator

@lann lann commented Sep 19, 2024

No description provided.

Signed-off-by: Lann Martin <lann.martin@fermyon.com>
val.to_str()
.ok()
.or_else(|| {
tracing::warn!("Non-ascii response header value for {key}");
Copy link
Collaborator

Choose a reason for hiding this comment

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

Would there be any use in printing the escaped version of the value?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes but I'm trying to cut down on logging potentially sensitive data 😬

@lann lann enabled auto-merge September 19, 2024 13:54
@lann lann merged commit 8752dff into fermyon:main Sep 19, 2024
17 checks passed
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.

2 participants