Start a new topic

Open Source Portal - load http resource

There is code in footer.php that loads java scripts from http://

 

<script type="text/javascript" src="http://malsup.github.io/jquery.form.js"></script>
<script type="text/javascript" src="http://ajax.aspnetcdn.com/ajax/jquery.validate/1.11.1/jquery.validate.js"></script>

It causes error when hosting site use HTTPS (e.g Chrome):

 

 

Mixed Content: The page at 'https://example.com/portal/' was loaded over HTTPS, but requested an insecure script 'http://malsup.github.io/jquery.form.js'. This request has been blocked; the content must be served over HTTPS.
Mixed Content: The page at 'https://example.com/portal/' was loaded over HTTPS, but requested an insecure script 'http://ajax.aspnetcdn.com/ajax/jquery.validate/1.11.1/jquery.validate.js'. This request has been blocked; the content must be served over HTTPS.

 

 


Hey Pirozhkov,


Since your hosting site use HTTPS, the error gets thrown when you load the java script in HTTP as there is a mismatch. We would like to inform you that we would be changing the source protocol to HTTPS in our code during our next build, and so kindly make use of the same.

Hey Pirozhkov,


The source protocol has been changed to HTTPS in the open source portal code. Please try it out and let us know if you have questions.


1 person likes this
Login or Signup to post a comment