This may actually be the problem.

This commit is contained in:
Rick Falkvinge
2012-11-24 23:37:43 +00:00
parent 15160a014a
commit 5f8e6f9c3f
+1 -1
View File
@@ -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:"));
}