From 5474ea5d8297279828c5e03e3f7ad0a6cf095cbe Mon Sep 17 00:00:00 2001 From: Sacha Trauwaen Date: Thu, 23 Apr 2015 23:19:09 +0200 Subject: [PATCH] v 1.3.2 - Bug fix : A page not found will be shown for some admin pages. --- HttpModules/UrlRewriteModuleUtils.cs | 2 +- OpenUrlRewriter71.dnn | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/HttpModules/UrlRewriteModuleUtils.cs b/HttpModules/UrlRewriteModuleUtils.cs index adb28a7..7fe51af 100644 --- a/HttpModules/UrlRewriteModuleUtils.cs +++ b/HttpModules/UrlRewriteModuleUtils.cs @@ -510,7 +510,7 @@ private static bool IsSpecialPage(Uri Url, string PhysicalPath, string RawUrl, s } //if (Url.LocalPath.ToLower().EndsWith(".aspx") && !Url.LocalPath.ToLower().EndsWith(Globals.glbDefaultPage.ToLower())) - if ((Directory.Exists(PhysicalPath) || File.Exists(PhysicalPath)) && !Url.LocalPath.ToLower().EndsWith(Globals.glbDefaultPage.ToLower())) + if (File.Exists(PhysicalPath) && !Url.LocalPath.ToLower().EndsWith(Globals.glbDefaultPage.ToLower())) { return true; } diff --git a/OpenUrlRewriter71.dnn b/OpenUrlRewriter71.dnn index 80ecabb..b659ac6 100644 --- a/OpenUrlRewriter71.dnn +++ b/OpenUrlRewriter71.dnn @@ -1,6 +1,6 @@ - + OpenUrlRewriter Satrabel OpenUrlRewriter module /Icons/Sigma/AdvancedUrlMngmt_32x32.png