1
0
mirror of https://github.com/0rangebananaspy/authelia.git synced 2024-09-14 22:47:21 +07:00
authelia/internal/server
James Elliott 26236f491e
fix(server): use of inconsistent methods for determining origin ()
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 
2022-02-07 00:37:28 +11:00
..
public_html feat: go:embed static assets () 2021-02-22 10:07:06 +11:00
const.go feat(duo): multi device selection () 2021-12-01 14:32:58 +11:00
error_handler.go fix: include major in go.mod module directive () 2021-08-11 11:16:46 +10:00
options_handler.go fix: include major in go.mod module directive () 2021-08-11 11:16:46 +10:00
server.go fix(server): use of inconsistent methods for determining origin () 2022-02-07 00:37:28 +11:00
template.go fix(server): use of inconsistent methods for determining origin () 2022-02-07 00:37:28 +11:00