Modules preventing full https site

Hi @ankulegi,

To permit both of these elements to behave in a protocol-neutral fashion…

  • Apply this patch to make the AddThis image use a protocol-relative URL
  • Edit plugins/generic/piwik/PiwikSettingsForm.inc.php and find the line:
$this->addCheck(new FormValidatorCustom($this, 'piwikUrl', 'required', 'plugins.generic.piwik.manager.settings.piwikUrlRequired', create_function('$piwikUrl', 'return strpos(trim(strtolower_codesafe($piwikUrl)), \'http://\') === 0 ? true : false;')));

Remove or comment this line to remove restrictions on the Piwik URL field. (A better solution would be to edit this to allow protocol-relative URLs and https URLs – if you’re willing to tackle that, please consider sending in a pull request.)

Regards,
Alec Smecher
Public Knowledge Project Team