From 5f8e6f9c3ff026d3370213796859628b2d8e4908 Mon Sep 17 00:00:00 2001 From: Rick Falkvinge Date: Sat, 24 Nov 2012 23:37:43 +0000 Subject: [PATCH] This may actually be the problem. --- Site5/Security/Login.aspx.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Site5/Security/Login.aspx.cs b/Site5/Security/Login.aspx.cs index d0cc1959..38c548a3 100644 --- a/Site5/Security/Login.aspx.cs +++ b/Site5/Security/Login.aspx.cs @@ -35,7 +35,7 @@ namespace Activizr.Pages.Security if (!Request.IsSecureConnection) { - if (!Request.Url.ToString().StartsWith("http://dev.activizr.com/") && !Request.Url.ToString().StartsWith("http://localhost:") && Request.Url.ToString().StartsWith("http://activizr-")) + if (!Request.Url.ToString().StartsWith("http://dev.activizr.com/") && !Request.Url.ToString().StartsWith("http://localhost:") && Request.Url.ToString().StartsWith("http://activizr-") && Request.Url.ToString().StartsWith("http://live.activizr.com")) { Response.Redirect(Request.Url.ToString().Replace("http:", "https:")); }