ushahidi/Ushahidi_Web — Issue #275: Remove https_check.php Hook
Author: brianherbert
Created: 2012-02-26 00:57:36+00:00
State: open
Labels: P2 - Normal

Any objections to removing the application/hooks/https_check.php hook?

When SSL is enabled on a deployment, it's checking to see if it's installed and valid on the server. If it's not, it rewrites the config.php file without warning or telling the deployer. This breaks all form functionality and forces the site to switch back over to http permanently, which the server might not be prepared to deal with.

Also, some deployers may be content with running HTTPS on a server with an invalid certificate which makes this check an annoyance.

Pinging @dkobia and @ekala so they don't miss this in case they want to give input. Otherwise, this is coming out after the code freeze. Already tested it on Crowdmap and it works just fine without the check.