Ticket #2587 (closed defect: fixed)

Opened 7 months ago

Last modified 3 months ago

IIS and $_SERVER['HTTPS']

Reported by: mackeyn Owned by: aoneil
Priority: medium Milestone:
Component: (Unknown) Version: 2.2.2
Severity: medium effort / impact Keywords:
Cc: Hours:

Description

IIS sets $_SERVERHTTPS? = 'off' when it should not be set at all. This causes the <% base_tag %> to render as https://yoursite.com instead of http://yoursite.com.

Please see the attached patch

Attachments

iis-https.diff (2.0 kB) - added by mackeyn 7 months ago.

Change History

Changed 7 months ago by mackeyn

Changed 3 months ago by aoneil

  • status changed from new to closed
  • resolution set to fixed

Committed in r63912 with a few changes - i check for HTTPS != 'off', instead of = 'on', since the php manual specifies that HTTPS will be nonempty, not that it will be 'on'.

Note: See TracTickets for help on using tickets.