authelia/internal/logging
Amir Zarrinkafsh e8e5b8adbe
fix(web): adjust router basename behaviour (#7130)
This reverts commit a99bb63394 and is the proper fix for #5902. This change adjusts the behaviour if Authelia is run with a sub-path and is visited without a trailing slash on the specified sub-path. In 4.37.5 the base path would get normalized without a trailing slash, however, would cause issues when a refresh was completed while carrying a redirection query string. In 4.38.x this was changed so the sub-path would not be normalized without the trailing slash and that it was therefore necessary. This change in behaviour could be observed as a regression by users with learned behaviours.

Fixes #5902.

Signed-off-by: Amir Zarrinkafsh <nightah@me.com>
Signed-off-by: James Elliott <james-d-elliott@users.noreply.github.com>
Co-authored-by: James Elliott <james-d-elliott@users.noreply.github.com>
2024-04-15 13:12:52 +10:00
..
const.go fix(web): adjust router basename behaviour (#7130) 2024-04-15 13:12:52 +10:00
logger.go refactor(logging): adjust hook registration (#7139) 2024-04-12 23:47:49 +10:00
logger_test.go refactor(logging): adjust hook registration (#7139) 2024-04-12 23:47:49 +10:00
printf.go refactor(logging): adjust hook registration (#7139) 2024-04-12 23:47:49 +10:00
util.go refactor(logging): adjust hook registration (#7139) 2024-04-12 23:47:49 +10:00
util_test.go refactor(logging): adjust hook registration (#7139) 2024-04-12 23:47:49 +10:00