plugins.file.writefile and HTTPS

Forum to discuss the Web client version of Servoy.

plugins.file.writefile and HTTPS

Postby steve1376656734 » Tue Oct 17, 2017 1:25 pm

I am running a web client on a secure site (HTTPS). I have a button on a form that calls

Code: Select all
plugins.file.writefile("myFile", documentBytes);


Unfortunately, the file does not download in the browser and I get a message in the browser console:

Safari:
Code: Select all
[blocked] The page at about:blank was not allowed to display insecure content from http://mywebsite.com/live/servoy-webclient/resources/servoy/resources.


Chrome:
Code: Select all
Mixed Content: The page at 'https://mywebsite.com/live/servoy-webclient/?x=kRCSH0O-3Eypw2v6gAV3bg' was loaded over HTTPS, but requested an insecure resource 'http://mywebsite.com/live/servoy-webclient/resources/servoy/resources'. This request has been blocked; the content must be served over HTTPS.


Any idea how I get the file to be served over HTTPS?
Steve
SAN Developer
There are 10 types of people in the world - those that understand binary and those that don't
steve1376656734
 
Posts: 326
Joined: Fri Aug 16, 2013 2:38 pm
Location: Ashford, UK

Return to Servoy Web Client

Who is online

Users browsing this forum: No registered users and 5 guests

cron