Temporarily unset `SERVER_NAME` when handling requests
Compare changes
+ 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.
[ 9.Nov 22h : 4,522 users | 1,074 groups | 6,332 projects ]