Closed (fixed)
Project:
Google Analytics
Version:
5.x-1.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 May 2007 at 21:18 UTC
Updated:
27 May 2007 at 17:31 UTC
The current SSL detection isn't working on IIS, while IIS have $_SERVER['HTTPS'] = "off" set if traffic is non-SSL. This small change fixes the bug:
// Are we on a secure page?
if($_SERVER['HTTPS'] == "on") {
$prefix = 's://ssl';
}
Comments
Comment #1
hass commentedComment #2
buddaCommitted recommended SSL detection routine to CVS. Let me know how this goes for IIS, and Apache, i've not got a 5.x HTTPS site to test on.
Comment #3
(not verified) commented