From 19646c009c1a596dd72669400a76ebf5bb5252e8 Mon Sep 17 00:00:00 2001 From: inga-lovinde <52715130+inga-lovinde@users.noreply.github.com> Date: Mon, 20 Sep 2010 15:58:49 +0000 Subject: [PATCH] WrongUrl logging improved --- IISMainHandler/handlers/WrongUrlHandler.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IISMainHandler/handlers/WrongUrlHandler.cs b/IISMainHandler/handlers/WrongUrlHandler.cs index 68eb997..9c59db5 100644 --- a/IISMainHandler/handlers/WrongUrlHandler.cs +++ b/IISMainHandler/handlers/WrongUrlHandler.cs @@ -16,7 +16,7 @@ namespace FLocal.IISHandler.handlers { } protected override IEnumerable getSpecificData(WebContext context) { - context.LogError(new WrongUrlException()); + if(!context.httprequest.Path.StartsWith("/static/")) context.LogError(new WrongUrlException()); return new XElement[] { new XElement("path", context.httprequest.Path) };