Open zdebel opened 3 weeks ago
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() ( https://github.com/thomiceli/opengist/pull/359 ).
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() ( https://github.com/thomiceli/opengist/pull/359 ).