Skip to content

Conversation

lphuberdeau
Copy link
Contributor

When no pattern matches the remaining string, the loop goes on and attempts matching the same patterns again. This fix introduces an exit condition to avoid the problem, preventing infinite loops from forged headers.

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