Marco Pinna created SYNCOPE-1647:
------------------------------------
Summary: online documentation page not working as expected
Key: SYNCOPE-1647
URL: https://issues.apache.org/jira/browse/SYNCOPE-1647
Project: Syncope
Issue Type: Improvement
Components: documentation
Reporter: Marco Pinna
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:
{quote}...
<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() {
...
{quote}
wich causes the browser's (chrome and firefox) refuse to load the script with
the following message:
{quote}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.
{quote}
and the subsequent exception
{quote}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)
{quote}
Thank you
--
This message was sent by Atlassian Jira
(v8.3.4#803005)