Uploaded image for project: 'Syncope'
  1. Syncope
  2. SYNCOPE-1647

online documentation page not working as expected

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.1.10
    • None
    • documentation
    • None

    Description

      looking to the online documentation for REST api on versions 2.0 and 2.1 at the following links:

      https://syncope.apache.org/rest/2.0/index.html
      https://syncope.apache.org/rest/2.1/index.html

      the page is not working as expected, because the jquery-ui script node on the page refers to a http link of the library:

      ...

      <script src="https://code.jquery.com/jquery-3.4.1.min.js"></script>
      <script src="http://code.jquery.com/ui/1.12.1/jquery-ui.min.js"></script>
      <script>
                //
                $(function() {
      ...

      wich causes the browser's (chrome and firefox) refuse to load the script with the following message:

      Mixed Content: The page at 'https://syncope.apache.org/rest/2.0/index.html#tabs-33' was loaded over HTTPS, but requested an insecure script 'http://code.jquery.com/ui/1.12.1/jquery-ui.min.js'. This request has been blocked; the content must be served over HTTPS.

      and the subsequent exception

      Uncaught TypeError: $(...).accordion is not a function
          at HTMLDocument.<anonymous> (index.html:58)
          at e (jquery-3.4.1.min.js:2)
          at t (jquery-3.4.1.min.js:2)

       

      Thank you

       

       

      Attachments

        Activity

          People

            ilgrosso Francesco Chicchiriccò
            dr_astico Marco Pinna
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: