Uploaded image for project: 'Shindig'
  1. Shindig
  2. SHINDIG-1413

this.parentUrl_ in the gadgets.Container can only be used with http

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0
    • Component/s: Javascript
    • Labels:
      None

      Description

      Hello,
      i use Apache Shindig with https (nightly build from june) and an security error occurred. I must patched my version:

      old:
      gadgets.Container = function() {
      this.gadgets_ = {};
      this.parentUrl_ = 'http://' + document.location.host;

      new:
      gadgets.Container = function() {
      this.gadgets_ = {};
      this.parentUrl_ = document.location.href + '://' + document.location.host;

      thx
      Arn

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              arn Arn WaƟmann
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: