Project

General

Profile

Actions

Bug #2600

closed

Error when use ssl and require

Added by Marcio Sales almost 11 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
01/23/2014
Due date:
% Done:

0%

Estimated time:

Description

when i use ssl and require("http://www.google-analytics.com/ga.js");

this error occurs

Fatal error: failed loading http://www.google-analytics.com/ga.js

and when not user ssl no problem

Actions #1

Updated by Koen Deforche almost 11 years ago

Hey,

I believen a browser might preventie lading http contents within an HTTPS site.

There isn't anything wt can do in that case. Perhaps google also offers an HTTPS version?

Regards,

Koen

Actions #2

Updated by Marcio Sales almost 11 years ago

Hey

thanks the google offers https.

require(env.urlScheme() + "://www.google-analytics.com/ga.js");

BR

Márcio

Actions #3

Updated by Koen Deforche almost 11 years ago

  • Status changed from New to Resolved
  • Assignee set to Koen Deforche
Actions #4

Updated by Koen Deforche almost 11 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF