We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61daddf commit 9a8a7e3Copy full SHA for 9a8a7e3
BlogEngine/BlogEngine.Core/Providers/FileSystemProviders/XmlFileSystemProvider.cs
@@ -28,7 +28,7 @@ private static string BlogAbsolutePath(string VirtualPath)
28
private static string RelativeFilePath(string VirtualPath)
29
{
30
VirtualPath = VirtualPath.Replace("//","/").Trim();
31
- if (VirtualPath.ToLower().Contains(FileContainerRoot.ToLower()))
+ if (VirtualPath.ToLower().Contains(FileContainerRoot.ToLower()+"/") || VirtualPath.ToLower() == FileContainerRoot.ToLower())
32
return VirtualPath;
33
34
// ex: Oct 18 2012, added this to handle the case on the File Manager where if
0 commit comments