Allow that the DEFAULT_URI does not end with a slash

We normalize the url with an env var processor before passing it to the saml lib, to avoid an error. Fixes issue #1118
This commit is contained in:
Jan Böhmer 2025-12-04 23:31:42 +01:00
parent cb6da36954
commit fd7106af28
5 changed files with 95 additions and 3 deletions

1
.env
View file

@ -32,7 +32,6 @@ DATABASE_EMULATE_NATURAL_SORT=0
###################################################################################
# The public reachable URL of this Part-DB installation. This is used for generating links in SAML and email templates or when no request context is available.
# This must end with a slash!
DEFAULT_URI="https://partdb.changeme.invalid/"
###################################################################################