CRM-12783 - CRM_Core_CommunityMessages - Get content via HTTPS
authorTim Otten <totten@civicrm.org>
Wed, 3 Jul 2013 13:19:48 +0000 (06:19 -0700)
committerTim Otten <totten@civicrm.org>
Wed, 3 Jul 2013 14:55:12 +0000 (07:55 -0700)
Note: I did a simulation with enable_ssl=false, and it degraded well.

----------------------------------------
* CRM-12783: As of 4.3, civicrm pulls in content by default from non-authenticated web site (http instead of https)
  http://issues.civicrm.org/jira/browse/CRM-12783

CRM/Core/CommunityMessages.php

index f2971c3e0da9159ae30de6e4335f6dbeadcba8c8..08b9caf5b26139461f84e8aea2144fdde6b62542 100644 (file)
@@ -30,7 +30,7 @@
  */
 class CRM_Core_CommunityMessages {
 
-  const DEFAULT_MESSAGES_URL = 'http://alert.civicrm.org/alert?prot=1&ver={ver}&uf={uf}&sid={sid}&lang={lang}&co={co}';
+  const DEFAULT_MESSAGES_URL = 'https://alert.civicrm.org/alert?prot=1&ver={ver}&uf={uf}&sid={sid}&lang={lang}&co={co}';
   const DEFAULT_PERMISSION = 'administer CiviCRM';
 
   /**