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

Inaccurate parsing of headers. #5

Closed
ben-crowhurst opened this issue Jun 22, 2015 · 1 comment
Closed

Inaccurate parsing of headers. #5

ben-crowhurst opened this issue Jun 22, 2015 · 1 comment
Assignees
Labels

Comments

@ben-crowhurst
Copy link
Member

This (^(.*): *(.*)\\s*$) does not look like correct headers handling, for instance try to parse User-Agent: Mozilla:4.0. Are you aware of RFC 7230 to speak about compliance?

@ben-crowhurst
Copy link
Member Author

With a brief test this seems better suited for the task ([^:.]*): *(.*)\s*. Further testing necessary.

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

No branches or pull requests

1 participant