Uploaded image for project: 'Social Networking'
  1. Social Networking
  2. SOCIAL-67

Facebook link does not work on https due to mixedcontent

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Blocker Blocker
    • 2.9.0
    • 2.8.1
    • FaceBook
    • None
    • 4.4
    • 4.5 RC2

      We have

      Mixed Content: The page at 'https://www.u-....fr/fr/actualites/orientation-insertion/e-soirees-thematiques.html' was loaded over HTTPS, but requested an insecure script 'http://static.ak.fbcdn.net/connect.php/js/FB.Share'. This request has been blocked; the content must be served over HTTPS.

      https://code.ametys.org/projects/WEB/repos/social-networking/browse/main/plugin-socialnetworking/stylesheets/helpers/facebook.xsl contains http url
      We need https url so it would work on https and http website

      <script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script>
      		
      		<xsl:choose>
      			<xsl:when test="$rendering-context = 'front'">
      				<a name="fb_share" type="{$type}" href="http://www.facebook.com/sharer.php"><xsl:value-of select="$text"/></a>
      			</xsl:when>
      

      There some others bad links in this file, would you like to update all http: to https:// please ?
      For example :

      <iframe src="http://www.facebook.com
      

            Unassigned Unassigned
            fravetier Frederic Ravetier (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: