From 039472572771f6238749dac3c1d1ee4602954421 Mon Sep 17 00:00:00 2001 From: jclausen Date: Mon, 26 Aug 2024 13:19:18 -0400 Subject: [PATCH] COLDBOX-1289 - Resolve - Ensure Windows OS delimiters are accounted for --- system/web/Renderer.cfc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/system/web/Renderer.cfc b/system/web/Renderer.cfc index e061c4018..096a599a3 100755 --- a/system/web/Renderer.cfc +++ b/system/web/Renderer.cfc @@ -921,11 +921,11 @@ component // Check for directory helper convention first var dPath = getDirectoryFromPath( results.viewPath ); - if ( fileExists( expandPath( dPath & listLast( dPath, "/" ) & "Helper.cfm" ) ) ) { - results.viewHelperPath.append( dPath & listLast( dPath, "/" ) & "Helper.cfm" ); + if ( fileExists( expandPath( dPath & listLast( dPath, "\/" ) & "Helper.cfm" ) ) ) { + results.viewHelperPath.append( dPath & listLast( dPath, "\/" ) & "Helper.cfm" ); } - if ( fileExists( expandPath( dPath & listLast( dPath, "/" ) & "Helper.bxm" ) ) ) { - results.viewHelperPath.append( dPath & listLast( dPath, "/" ) & "Helper.bxm" ); + if ( fileExists( expandPath( dPath & listLast( dPath, "\/" ) & "Helper.bxm" ) ) ) { + results.viewHelperPath.append( dPath & listLast( dPath, "\/" ) & "Helper.bxm" ); } // Check for view helper convention second