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

Ignore obviously malformed host headers when constructing a ServerRequest #97

Closed
wants to merge 2 commits into from

Commits on Jul 1, 2022

  1. Improve typing in ServerRequestFactory::getHeaderFromArray()

    Signed-off-by: Tim Düsterhus <duesterhus@woltlab.com>
    TimWolla committed Jul 1, 2022
    Copy the full SHA
    58e4f98 View commit details
    Browse the repository at this point in the history
  2. Ignore obviously malformed host headers when constructing a ServerR…

    …equest
    
    I opted to ignore the `host` header instead of throwing an Exception to not
    introduce a remotely triggerable exception.
    
    Signed-off-by: Tim Düsterhus <duesterhus@woltlab.com>
    TimWolla committed Jul 1, 2022
    Copy the full SHA
    d2f2859 View commit details
    Browse the repository at this point in the history