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: properly support commas in headers #165

Merged
merged 1 commit into from
Jan 14, 2023
Merged

Conversation

danielgtaylor
Copy link
Owner

Previously commas would break the headers, e.g. sending a Date or Last-Modified or If-Unmodified-Since header. That was because the flags parser was splitting on commas, which is now disabled with this fix. The custom logic splitting on commas on environment variables is left in for now to support multiple headers set via the environment.

@danielgtaylor danielgtaylor merged commit ff42c1d into main Jan 14, 2023
@danielgtaylor danielgtaylor deleted the header-commas branch January 14, 2023 18:33
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