diff --git a/.idea/.idea.c3stream/.idea/contentModel.xml b/.idea/.idea.c3stream/.idea/contentModel.xml index de56e30..fc8a047 100644 --- a/.idea/.idea.c3stream/.idea/contentModel.xml +++ b/.idea/.idea.c3stream/.idea/contentModel.xml @@ -1,6 +1,7 @@ + diff --git a/.idea/.idea.c3stream/.idea/misc.xml b/.idea/.idea.c3stream/.idea/misc.xml new file mode 100644 index 0000000..1d8c84d --- /dev/null +++ b/.idea/.idea.c3stream/.idea/misc.xml @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file diff --git a/.idea/.idea.c3stream/.idea/projectSettingsUpdater.xml b/.idea/.idea.c3stream/.idea/projectSettingsUpdater.xml index 7515e76..4bb9f4d 100644 --- a/.idea/.idea.c3stream/.idea/projectSettingsUpdater.xml +++ b/.idea/.idea.c3stream/.idea/projectSettingsUpdater.xml @@ -1,6 +1,6 @@ - \ No newline at end of file diff --git a/c3stream.cs b/c3stream.cs index 90dc9a6..9dba533 100644 --- a/c3stream.cs +++ b/c3stream.cs @@ -83,7 +83,8 @@ namespace c3stream { //if new bookmark is in uri if (resquest.Query.ContainsKey("bookmark") && resquest.Cookies["bookmark"] != resquest.Query["bookmark"]) { response.Cookies.Append("bookmark", resquest.Query["bookmark"], new CookieOptions {Expires = DateTimeOffset.MaxValue}); - response.Redirect(redirectUri + "bookmark=" + resquest.Query["bookmark"]); + //disabled for HSTS compliance + //response.Redirect(redirectUri + "bookmark=" + resquest.Query["bookmark"]); } //if no cookie exists or cookie is invalid else if (!resquest.Cookies.ContainsKey("bookmark") || !Guid.TryParseExact(resquest.Cookies["bookmark"], "D", out _)) {