mesosphere / traefik-forward-auth

214 stars 46 forks source link

(v2) Use X-Replaced-Path header if present #38

Closed branden closed 3 years ago

branden commented 3 years ago

This is a v2 backport of #37.

https://jira.d2iq.com/browse/D2IQ-71985

I tested this PR by building and pushing a docker image that I then deployed as part of the traefik-forward-auth kubeaddon.

From cluster.yaml:

        - name: traefik-forward-auth
          enabled: true
          values: |
            image:
              repository: branden/traefik-forward-auth
              tag: x-replaced-path-2.0.5
branden commented 3 years ago

Converting this to a draft due to a related security issue in Traefik, see https://github.com/mesosphere/traefik-forward-auth/pull/37#issuecomment-724949641.

branden commented 3 years ago

I'm going to close this, since the original motivation is now resolved. See https://jira.d2iq.com/browse/D2IQ-71985