From e1d8bf9ac57bc94c7442b641cf46715295afbf86 Mon Sep 17 00:00:00 2001 From: Rick Falkvinge Date: Sat, 26 Apr 2014 10:28:59 +0000 Subject: [PATCH] --- Site5/Master-v5.master.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Site5/Master-v5.master.cs b/Site5/Master-v5.master.cs index cc974908..4e93ebd5 100644 --- a/Site5/Master-v5.master.cs +++ b/Site5/Master-v5.master.cs @@ -62,7 +62,7 @@ namespace Swarmops // Check for SSL and force it - if ((!Request.IsSecureConnection) || Request.Url.ToString().StartsWith("http://")) // Both are necessary, as some reverse proxies will https-ify an original nonsecure connection + if ((!Request.IsSecureConnection) || Request.Url.ToString().StartsWith("http://")) // Both are necessary, as some reverse proxies will https-ify an original nonsecure connection. First is state at server, second is state at client { if (!Request.Url.ToString().StartsWith("http://dev.swarmops.com/") && !Request.Url.ToString().StartsWith("http://sandbox.swarmops.com") && !Request.Url.ToString().StartsWith("http://localhost:") && !Request.Url.ToString().StartsWith("http://swarmops-")) {