authelia/internal/middlewares
James Elliott 26236f491e
fix(server): use of inconsistent methods for determining origin (#2848)
This unifies the methods to obtain the X-Forwarded-* header values and provides logical fallbacks. In addition, so we can ensure this functionality extends to the templated files we've converted the ServeTemplatedFile method into a function that operates as a middlewares.RequestHandler.

Fixes #2765
2022-02-07 00:37:28 +11:00
..
asset_override.go feat: customizable static assets (#2597) 2021-11-15 19:37:58 +11:00
authelia_context.go fix(server): use of inconsistent methods for determining origin (#2848) 2022-02-07 00:37:28 +11:00
authelia_context_test.go fix(server): use of inconsistent methods for determining origin (#2848) 2022-02-07 00:37:28 +11:00
const.go fix(server): use of inconsistent methods for determining origin (#2848) 2022-02-07 00:37:28 +11:00
errors.go fix: oidc issuer path and strip path middleware (#2272) 2021-08-10 10:31:08 +10:00
http_to_authelia_handler_adaptor.go refactor(handlers): lower case error messages (#2289) 2021-09-17 15:53:40 +10:00
identity_verification.go refactor: apply godot recommendations (#2839) 2022-01-31 16:25:15 +11:00
identity_verification_test.go fix(server): use of inconsistent methods for determining origin (#2848) 2022-02-07 00:37:28 +11:00
log_request.go Display correct RemoteIP in logs. 2019-12-11 19:01:16 +01:00
log_request_test.go [CI] Add wsl linter (#980) 2020-05-05 21:35:32 +02:00
require_first_factor.go fix: include major in go.mod module directive (#2278) 2021-08-11 11:16:46 +10:00
strip_path.go fix(server): use of inconsistent methods for determining origin (#2848) 2022-02-07 00:37:28 +11:00
timing_attack_delay.go fix(middlewares): smart delay on reset password (#2767) 2022-01-21 10:46:13 +11:00
timing_attack_delay_test.go fix(middlewares): smart delay on reset password (#2767) 2022-01-21 10:46:13 +11:00
types.go feat(totp): algorithm and digits config (#2634) 2021-12-01 23:11:29 +11:00