From ee215d89dcd910add05de369026b17b69bbb01f9 Mon Sep 17 00:00:00 2001 From: inga-lovinde <52715130+inga-lovinde@users.noreply.github.com> Date: Sun, 4 Jul 2010 22:11:09 +0000 Subject: [PATCH] fixed a mistype in iismainhandler --- IISMainHandler/MainHandler.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IISMainHandler/MainHandler.cs b/IISMainHandler/MainHandler.cs index dcd8e00..8a500b9 100644 --- a/IISMainHandler/MainHandler.cs +++ b/IISMainHandler/MainHandler.cs @@ -15,7 +15,7 @@ namespace FLocal.IISHandler { private void doProcessRequest(HttpContext httpcontext) { Uri referer = httpcontext.Request.UrlReferrer; - if(referer != null && referer.PathAndQuery.StartsWith("/static") && !httpcontext.Request.Path.StartsWith("/static") { + if(referer != null && referer.PathAndQuery.StartsWith("/static") && !httpcontext.Request.Path.StartsWith("/static")) { throw new HttpException(403, "You have come from the static page '" + referer + "'"); }