diff --git a/core/src/main/java/lucee/runtime/MappingImpl.java b/core/src/main/java/lucee/runtime/MappingImpl.java index 6f97633d48..bb5937fdbf 100755 --- a/core/src/main/java/lucee/runtime/MappingImpl.java +++ b/core/src/main/java/lucee/runtime/MappingImpl.java @@ -38,6 +38,7 @@ import lucee.commons.io.log.Log; import lucee.commons.io.log.LogUtil; import lucee.commons.io.res.Resource; +import lucee.commons.io.res.util.ResourceUtil; import lucee.commons.lang.ClassUtil; import lucee.commons.lang.ExceptionUtil; import lucee.commons.lang.MappingUtil; @@ -448,7 +449,7 @@ public PageSource getPageSource(String realPath) { else if (realPath.startsWith("./")) { realPath = realPath.substring(1); } - else { + else if (!ResourceUtil.isWindowsPath(realPath)){ realPath = "/" + realPath; } } @@ -466,7 +467,7 @@ public Resource getResource(String realPath) { else if (realPath.startsWith("./")) { realPath = realPath.substring(1); } - else { + else if (!ResourceUtil.isWindowsPath(realPath)){ realPath = "/" + realPath; } } diff --git a/loader/build.xml b/loader/build.xml index 44f390f845..e096281c11 100644 --- a/loader/build.xml +++ b/loader/build.xml @@ -2,7 +2,7 @@ - + diff --git a/loader/pom.xml b/loader/pom.xml index 8cc22198b2..eada010c06 100644 --- a/loader/pom.xml +++ b/loader/pom.xml @@ -3,7 +3,7 @@ org.lucee lucee - 6.2.0.252-SNAPSHOT + 6.2.0.253-SNAPSHOT jar Lucee Loader Build