Commit graph

10 commits

Author SHA1 Message Date
Romain
2096fd7081
Drop untrusted X-Forwarded-Prefix header
Co-authored-by: Kevin Pollet <pollet.kevin@gmail.com>
2024-11-08 12:12:35 +01:00
Kevin Pollet
5841441005
Cleanup Connection headers before passing the middleware chain
Co-authored-by: Romain <rtribotte@users.noreply.github.com>
2024-09-16 11:10:04 +02:00
Ludovic Fernandez
141abce2d5
chore: update linter 2024-03-20 10:26:03 +01:00
Kevin Pollet
be44385b42
fix: process all X-Forwarded-For headers in the request 2021-12-14 15:36:07 +01:00
Ludovic Fernandez
bf4a578bbb
fix: infinite loop in forwarded header middleware.
Co-authored-by: kevinpollet <pollet.kevin@gmail.com>
2021-02-02 11:40:04 +01:00
Ludovic Fernandez
a20e90aa17
chore: update linter. 2020-07-07 14:42:03 +02:00
Julien Salleyron
e22c62baba
Fix wss in x-forwarded-proto 2020-04-30 18:00:04 +02:00
stffabi
cc4258bf9d Remove X-Forwarded-(Uri, Method, Tls-Client-Cert and Tls-Client-Cert-Info) from untrusted IP 2019-07-08 17:56:04 +02:00
mpl
336135c392 Set X-Forwarded-* headers
Co-authored-by: Julien Salleyron <julien.salleyron@gmail.com>
2019-04-02 16:56:04 +02:00
Ludovic Fernandez
f1b085fa36 Move code to pkg 2019-03-15 09:42:03 +01:00
Renamed from middlewares/forwardedheaders/forwarded_header_test.go (Browse further)