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 3e6f137 commit ab5a306Copy full SHA for ab5a306
uSync.BackOffice/Services/SyncFileService.cs
@@ -57,7 +57,7 @@ public string GetAbsPath(string path)
57
/// </remarks>
58
public string GetSiteRelativePath(string path)
59
{
60
- if (Path.IsPathFullyQualified(path))
+ if (Path.IsPathFullyQualified(path) && path.StartsWith(_hostEnvironment.ContentRootPath))
61
return path.Substring(_hostEnvironment.ContentRootPath.Length).TrimStart(_trimChars);
62
return path;
63
}
0 commit comments