authelia/internal/server
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
..
public_html feat: go:embed static assets (#1733) 2021-02-22 10:07:06 +11:00
const.go feat(duo): multi device selection (#2137) 2021-12-01 14:32:58 +11:00
error_handler.go fix: include major in go.mod module directive (#2278) 2021-08-11 11:16:46 +10:00
options_handler.go fix: include major in go.mod module directive (#2278) 2021-08-11 11:16:46 +10:00
server.go fix(server): use of inconsistent methods for determining origin (#2848) 2022-02-07 00:37:28 +11:00
template.go fix(server): use of inconsistent methods for determining origin (#2848) 2022-02-07 00:37:28 +11:00