Temporarily unset `SERVER_NAME` when handling requests
Compare changes
Files
5+ 1
− 1
*** Wartungsfenster jeden ersten Mittwoch vormittag im Monat ***
Because otherwise, flask.url_for()
will always prefer the value of SERVER_NAME
over the HTTP Host
header value.
While this may be desirable for security reasons for single-domain setups, it causes issues with OIDC (generating absolute redirect URIs) on secondary domains of our multi-domain setup.
[ 17.Apr 9h : 3,741 users | 915 groups | 5,095 projects ]