Skip to content

Support 'Forwarded' header #2694

Open
Open
@zdebel

Description

Please add support for 'Forwarded' header.

https://github.com/labstack/echo/blob/master/context.go#L275 here the Scheme method should also support Forwarded header ( https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Forwarded ). This header is for example used by Google in their openid oauth2 provider. I've stumbled across this issue in another project and proposed a fix. In a perfect world, said project should simply call Scheme() ( thomiceli/opengist#359 ).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions