XBackBone/app/Middleware
FingerlessGloves 9caee0dc5b
Fixes redirect bug for reverse proxy
If you are logged out of XBackbone, and browse to `/upload` for example the direction holds the request URI, which isn't an issue unless you've got a reverse proxy in front of it.
For example, if the app is running in a container on port 8080, and Traefik is doing the reverse proxying, when you try login after being redirected to the login page, the redirectTo session contains the internal port number, which causes you to be redirected to `https://mydomain.com:8080/upload` instead of the correct `https://mydomain.com/upload`
2022-10-31 22:39:32 +00:00
..
AdminMiddleware.php Revert previous CI hell 2019-11-21 18:00:47 +01:00
AuthMiddleware.php Fixes redirect bug for reverse proxy 2022-10-31 22:39:32 +00:00
CheckForMaintenanceMiddleware.php Unset debug after installation 2019-11-22 12:21:02 +01:00
InjectMiddleware.php Completed user quota implementation 2020-03-01 17:03:07 +01:00
LangMiddleware.php Completed user quota implementation 2020-03-01 17:03:07 +01:00
Middleware.php Revert previous CI hell 2019-11-21 18:00:47 +01:00
RememberMiddleware.php Apply fixes from StyleCI 2020-07-28 06:51:56 +00:00