Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-15523

Extensions update of status on web side is using HTTP causing Mixed content errors in Firefox

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 10.6.1
    • Fix Version/s: None
    • Component/s: Extension
    • Labels:
      None
    • Environment:
      Last 10.6.1 Docker version (postgresql-tomcat) but was happening with 9.6 too.
      There is a nginx frontend that does https.
    • Difficulty:
      Easy
    • Similar issues:

      Description

      Observation

      I'm getting mixed content errors in the Firefox console while trying to updgrade extensions it seems to try to access http://mywikiurl.com/... instead of https://mywikiurl.com

      Blocked loading mixed active content "http://mywikiurl.com/bin/get/XWiki/ExtensionUpdater?extensionSection=progress&extensionId=org.xwiki.contrib%3Axwiki-macro-map&extensionVersion=2.1&extensionNamespace=wiki%3Axwiki&xback=%2Fbin%2Fget%2FXWiki%2FExtensionUpdater%3Fsection%3DXWiki.ExtensionUpdater&section=XWiki.ExtensionUpdater"

       

      The update is still happening, it is just the update on the screen that does not happen, refreshing the page regularly allows to see the updates.

       

      I get a similar error when I try to upload a file, file get uploaded but I get that warning and have to refresh the page to see that it uploaded correctly.

      Settings

      I did set the protocol to https in xwiki.cfg, but it didn't change anything (I guess it detected it properly for all the rest anyway).

      Expected behavior

      The query (XHR?) should be using https when asked or at least follow the protocol forced into xwiki.cfg.

       

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              bjo Jonathan Bisson
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: