aoberegg / ep_user_pad_frontend

User Interface for Etherpad Lite
Apache License 2.0
5 stars 8 forks source link

http requests in https mode #5

Open quenenni opened 10 years ago

quenenni commented 10 years ago

In all the .ejs files in templates dir, we have:

<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700' rel='stylesheet' type='text/css'>

It should be replaced by:

<link href='//fonts.googleapis.com/css?family=Open+Sans:400,700' rel='stylesheet' type='text/css'>

(without the http:) That way, "http://google.." is use when accessing the pad with http and "https://googe.."when accessing with https.

If not, when accessing with https, in Firefox, we have an error:

Blocage du chargement du contenu mixte actif (mixed active content) « http://fonts.googleapis.com/css?family=Open+Sans:400,700 »

See https://developer.mozilla.org/fr/docs/Security/MixedContent