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

fix: ensure Fastly-Key is stripped from the dump #453

Merged
merged 1 commit into from
Jun 29, 2023

Conversation

Integralist
Copy link
Collaborator

@Integralist Integralist commented Jun 29, 2023

To protect customers who use the FASTLY_DEBUG_MODE we should redact the Fastly-Key value.

@Integralist Integralist force-pushed the integralist/redact-key branch from d73ebaa to d6697b0 Compare June 29, 2023 13:42
@Integralist Integralist merged commit 31fb55a into main Jun 29, 2023
@Integralist Integralist deleted the integralist/redact-key branch June 29, 2023 13:45
@joeshaw
Copy link
Member

joeshaw commented Jun 30, 2023

An alternative approach here might have been to clone the request with req.Clone() and then explicitly unsetting (or resetting to eg. [scrubbed]) the Fastly-Key header.

@Integralist
Copy link
Collaborator Author

That's a good shout @joeshaw . I'll create a ticket for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants