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

Add failing testcases to reproduce issue #3365. #3375

Closed
wants to merge 1 commit into from
Closed

Conversation

rfk
Copy link
Contributor

@rfk rfk commented Jul 20, 2020

Our push component has an extract_value helper function that tries to parse a single item out of a HTTP header using the common "key=value; key=value" syntax.

Parsing such headers is fraught with peril. Here are two small testcases for things that we don't currently handle correctly, one of which apears to be the cause of #3364 and #3365 (I added a bunch of panic!s in here to confirm that it was failing with the same error messages as seen in those issues).

I don't have any more time to spend on this issue so I haven't worked on a fix, but I'm pushing them in the hope that they can be a starting point when those issues make it to the top of someone's stack.

Connects to #3365.

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.

None yet

2 participants