fix: serve the custom UI from the configured folder and harden UiController #8

Merged
robinp2000 merged 1 commit from fix/ui-custom-folder into main 2026-10-03 01:20:42 +02:00
Owner
  • UiController looked for ui/index.html while the folder is custom-ui, so a custom
    UI was never used on page routes. The folder is now defined once (UiLocations,
    property dachshund_authorization.custom-ui-path) and shared with WebConfig and SetupBootstrap.
  • Do not create a session for anonymous visitors.
  • Fail with a 500 when index.html has no closing head tag instead of silently dropping the meta tags.
  • Declare UTF-8 in the content type; add tests for all authentication stages and escaping.
- UiController looked for ui/index.html while the folder is custom-ui, so a custom UI was never used on page routes. The folder is now defined once (UiLocations, property dachshund_authorization.custom-ui-path) and shared with WebConfig and SetupBootstrap. - Do not create a session for anonymous visitors. - Fail with a 500 when index.html has no closing head tag instead of silently dropping the meta tags. - Declare UTF-8 in the content type; add tests for all authentication stages and escaping.
fix: serve the custom UI from the configured folder and harden UiController
All checks were successful
CI / build (pull_request) Successful in 1m53s
2283883788
- UiController looked for ui/index.html while the folder is custom-ui, so a custom
  UI was never used on page routes. The folder is now defined once (UiLocations,
  property dachshund_authorization.custom-ui-path) and shared with WebConfig and SetupBootstrap.
- Do not create a session for anonymous visitors.
- Fail with a 500 when index.html has no closing head tag instead of silently dropping the meta tags.
- Declare UTF-8 in the content type; add tests for all authentication stages and escaping.
robinp2000 deleted branch fix/ui-custom-folder 2026-10-03 01:20:42 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
robinp2000/dachshund-auth-provider!8
No description provided.