From 999750689de3b421fa36db6aaff36828c8438199 Mon Sep 17 00:00:00 2001 From: Rick Falkvinge Date: Mon, 8 Sep 2014 18:46:12 +0000 Subject: [PATCH] Adding some debug code to find cause of infinite loop --- Site5/App_Code/GetGeographyData.cs | 2 +- Site5/Security/Login.aspx.cs | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Site5/App_Code/GetGeographyData.cs b/Site5/App_Code/GetGeographyData.cs index f43e0c09..60d1e8e0 100644 --- a/Site5/App_Code/GetGeographyData.cs +++ b/Site5/App_Code/GetGeographyData.cs @@ -50,7 +50,7 @@ namespace Swarmops.Site.Automation /// public GetGeographyData() { - this.Url = "http://v5.pirateweb.net/Automation/GetGeographyData.asmx"; + this.Url = "http://live.swarmops.com/Automation/GetGeographyData.asmx"; } /// diff --git a/Site5/Security/Login.aspx.cs b/Site5/Security/Login.aspx.cs index a532f8ea..84a972ac 100644 --- a/Site5/Security/Login.aspx.cs +++ b/Site5/Security/Login.aspx.cs @@ -32,13 +32,14 @@ namespace Swarmops.Pages.Security // Check for SSL + /* DISABLE temporarily if ((!Request.IsSecureConnection) && Request.Url.ToString().StartsWith("http://")) // Both are necessary, as some reverse proxies will https-ify an original nonsecure connection { if (!Request.Url.ToString().StartsWith("http://dev.swarmops.com/") && !Request.Url.ToString().StartsWith("http://localhost:") && !Request.Url.ToString().StartsWith("http://swarmops-")) { Response.Redirect(Request.Url.ToString().Replace("http:", "https:")); } - } + } */ } protected void ButtonLogin_Click(object sender, EventArgs e)