Hello,

First, thank you for a great module. Its an example of the great things with drupal, that is, how far users can get with so little effort.

I believe to have discovered a bug in the way the module checks for HTTPS status. I am using Windows 2003 Server with IIS.

A typical check looks like so:

if (!$_SERVER['HTTPS'])

My theory is that IIS always initialize this variable to either "on" or "off", whereas Apache uses "on" or blank for off. The above condition will thus never succeed on IIS.

I have tested this theory by replacing all conditions like the above with:

if ($_SERVER['HTTPS']!="on")

This has solved the problem (explictly checking for off may be a bad idea as it might not be set on Apache servers).

Thank you for your time.

Yours sincerely,

Christian Rytter

Comments

gordon’s picture

Status: Needs review » Fixed

Thanks I have fixed this now.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.