Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin routes fail if Stud.IP is behind a proxy (FPM other otherwise) #453

Open
tgloeggl opened this issue Oct 13, 2023 · 0 comments
Open
Labels

Comments

@tgloeggl
Copy link
Member

The meetings plugin uses SLIM as ist PHP-Framework. There is an known issue, where SLIM does not correctly identify to which protocol to redirect. It is then trying to redirect from HTTPS to HTTP, which fails in modern browsers do to mixed content policies.

See https://discourse.slimframework.com/t/request-returns-http-instead-of-https for further details.

While it is possible to fix this in the environment (in NGINX of $_SERVER['HTTPS'] = 'on'; in Stud.IPs config/config_local.inc.php) it might be a good idea to have a fallback in the plugin as well to prevent hard to track errors.

@tgloeggl tgloeggl added the bug label Oct 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant