Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

On my Win 7 box, the CGI.HTTPS value is "off" or "on" so the code was…

… incorrectly trying to connect to my non-HTTPS server over HTTPS. This fixed it for me. You might want to check it's still OK on OSX.
  • Loading branch information...
commit 32da86b357ff1eb066fcb907bc61e44ed701d541 1 parent 72d3051
Ciarán Archer authored July 22, 2011

Showing 1 changed file with 3 additions and 2 deletions. Show diff stats Hide diff stats

  1. 5  handlers/Application.cfc
5  handlers/Application.cfc
... ...
@@ -1,8 +1,9 @@
1  
-<cfcomponent>
  1
+<cfcomponent>
2 2
 <cfsetting showdebugoutput="false">
3 3
 <cffunction name="onRequestStart">
  4
+	
4 5
 	<cfscript>
5  
-	if ( len( cgi.HTTPS ) ) {
  6
+	if ( len( cgi.HTTPS ) && cgi.HTTPS != "off" ) {
6 7
 		request.ideUrl = "https://" & cgi.HTTP_HOST & ":" & cgi.SERVER_PORT_SECURE;
7 8
 	} else {
8 9
 		request.ideUrl = "http://" & cgi.HTTP_HOST & ":" & cgi.SERVER_PORT;

0 notes on commit 32da86b

Please sign in to comment.
Something went wrong with that request. Please try again.