-
Notifications
You must be signed in to change notification settings - Fork 1
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
Form URL not using HTTPS although base URL contains the prefix ("Insecure form submission") #16
Comments
Side note: this might not be an issue with the Docker image; if so, please transfer where applicable. Looking at the code, it should respect the |
Update: the issue also affects plenty other forms, e.g., the report pages. I have not found a workaround yet. |
Enabling "Force SSL" causes an endless redirect loop and shows the following log messages:
Edit: possibly related: https://civicrm.stackexchange.com/questions/46054/civicrm-thinks-site-is-not-ssl-redirecting-to-url |
Apparently, this is related to the reverse proxy setup, i.e., the apache2 config. When setting I see two options out of here that can be implemented in this repository:
I'm not really into PHP, so I can't tell what would cause Another option would be for CiviCRM to fix its static URLs by just using the absolute URL provided by the user in the installer. I mean, this is kind of a security-relevant design issue. |
Hey @TheAssassin - sorry to take a while to reply. I think the answer if likely that we should do something similar to michaelmcandrew/civicrm-docker@5658788. Let me know what you think. |
I'm currently evaluating CiviCRM standalone installed via Docker. Whatever I do, I run into the following problem.
The "domain" form (see screenshot) does not use HTTPS. The "base URL" specified during the installation contains the
https://
prefix, though, I also verified this in the config files.What could be the reason for this behavior?
Please note that I use Traefik as a reverse proxy. All proxy headers are forwarded correctly:
I can convince the browser to submit the form by changing the URL manually and this specific form hardly needs to be submitted, but it's very annoying and not usable for less tech-savvy people. I'd appreciate any pointers.
The text was updated successfully, but these errors were encountered: