OS Property support center

Minor SSL Error

  • Nikos Rapellas
  • Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 5 days ago #112085 by Nikos Rapellas
Minor SSL Error was created by Nikos Rapellas
Hi,

Just updated to the latest version (and added SSL Encryption to the website by default) and since everything is encrypted, there are 2 lines in the index (after the head) that are not (and Google and Firefox are complaining!).

<link href=" fonts.googleapis.com/css?family=Lato:400,300 " rel="stylesheet" type="text/css" />
<link href=" fonts.googleapis.com/css?family=Oswald " rel="stylesheet" type="text/css" />

Can you please tell me where they are so I can change them manually?

Please Log in or Create an account to join the conversation.

More
6 years 3 hours ago #112296 by Mr. Dam
Replied by Mr. Dam on topic Minor SSL Error
Hi Nikos,
Actually, in OS Property, those font packages are calling through this code
Code:
$document->addStyleSheet('//fonts.googleapis.com/css?family=Oswald:700');
With above command, even you are using SSL or non-SSL, the font package is still be loaded properly.
Thanks
Dam

Please Log in or Create an account to join the conversation.

  • Nikos Rapellas
  • Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 11 months ago - 5 years 11 months ago #112322 by Nikos Rapellas
Replied by Nikos Rapellas on topic Minor SSL Error
Found the issue, it wasn't at the osProperty but at the ospRealty on file
templates/osprealty/etc/assets.xml there are two fields:
Code:
<file>http://fonts.googleapis.com/css?family=Lato:400,300</file> <file>http://fonts.googleapis.com/css?family=Oswald</file>
changing to
Code:
<file>https://fonts.googleapis.com/css?family=Lato:400,300</file> <file>https://fonts.googleapis.com/css?family=Oswald</file>

works... :)
Thanks anyway!
Last edit: 5 years 11 months ago by Nikos Rapellas.

Please Log in or Create an account to join the conversation.

Moderators: Mr. DamNguyen Phu Quan