Skip to content
Snippets Groups Projects
Select Git revision
  • renovate/github.com-go-webauthn-webauthn-0.x
  • renovate/go-1.x
  • renovate/golang.org-x-crypto-0.x
  • renovate/golang.org-x-sync-0.x
  • renovate/github.com-mattn-go-sqlite3-1.x
  • renovate/github.com-go-ldap-ldap-v3-3.x
  • renovate/github.com-prometheus-client_golang-1.x
  • renovate/github.com-google-go-cmp-0.x
  • renovate/opentelemetry-go-monorepo
  • master default
  • renovate/github.com-lunixbochs-struc-digest
  • renovate/github.com-duo-labs-webauthn-digest
12 results

proxy_headers.go

Blame
    • ale's avatar
      5ecc19d4
      Replace gorilla/handlers.ProxyHandler with a simpler implementation · 5ecc19d4
      ale authored
      The ProxyHandler apparently assumes that you're running a gorilla.Mux
      for request routing, as it sets the URL.Scheme field of the incoming
      request - which is normally unset. This has the consequence of messing
      up all sorts of things, including redirects, because the other
      fields (like Host) of the request URL are still going to be unset.
      5ecc19d4
      History
      Replace gorilla/handlers.ProxyHandler with a simpler implementation
      ale authored
      The ProxyHandler apparently assumes that you're running a gorilla.Mux
      for request routing, as it sets the URL.Scheme field of the incoming
      request - which is normally unset. This has the consequence of messing
      up all sorts of things, including redirects, because the other
      fields (like Host) of the request URL are still going to be unset.