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

Examine X-Forwarded-Host for additional port information #135

Merged
merged 11 commits into from
Apr 7, 2023

Commits on Apr 5, 2023

  1. qa: add failing test regarding X-Forwarded-Host containing a port

    Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
    boesing committed Apr 5, 2023
    Configuration menu
    Copy the full SHA
    94f7018 View commit details
    Browse the repository at this point in the history
  2. bugfix: split host and port from X-Forwarded-Host

    Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
    boesing committed Apr 5, 2023
    Configuration menu
    Copy the full SHA
    2f64b1f View commit details
    Browse the repository at this point in the history
  3. qa: mark UriFactory#marshalHostAndPortFromHeader as mutation-free

    Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
    boesing committed Apr 5, 2023
    Configuration menu
    Copy the full SHA
    aaba858 View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2023

  1. qa: add failing test to verify that the port from X-Forwarded-Host

    …is only ignored when `X-Forwarded-Port` is available
    
    Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
    boesing committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    0e5f4ba View commit details
    Browse the repository at this point in the history
  2. bugfix: preserve port from X-Forwarded-Host

    Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
    boesing committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    441cd05 View commit details
    Browse the repository at this point in the history
  3. qa: introduce psalm stub for psr/http-message UriInterface

    This also requires `Uri` to be `psalm-immutable`.
    
    Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
    boesing committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    36e7e71 View commit details
    Browse the repository at this point in the history
  4. qa: remove redundant integer cast

    Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
    boesing committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    a2fb57a View commit details
    Browse the repository at this point in the history
  5. qa: update psalm configuration and cleanup baseline

    Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
    boesing committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    9626bab View commit details
    Browse the repository at this point in the history
  6. qa: ensure that immutability is given and/or possible mutations are s…

    …uppressed
    
    Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
    boesing committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    dafe22c View commit details
    Browse the repository at this point in the history
  7. qa: add missing line-break to assertion message as it exceeded 120 ch…

    …aracters
    
    Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
    boesing committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    f048286 View commit details
    Browse the repository at this point in the history

Commits on Apr 7, 2023

  1. qa: remove unused psalm suppressions reported by psalm itself

    Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
    boesing committed Apr 7, 2023
    Configuration menu
    Copy the full SHA
    ee73411 View commit details
    Browse the repository at this point in the history