Skip to content

Commit 70cadbb

Browse files
donkerbdukes
authored andcommitted
Readd http check
1 parent f9188ab commit 70cadbb

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

DNN Platform/DotNetNuke.Web.Client.ResourceManager/ClientResourceController.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,12 @@ private string ResolvePath(string filePath, string pathNameAlias)
349349
return filePath;
350350
}
351351

352+
if (filePath.StartsWith("http", StringComparison.OrdinalIgnoreCase))
353+
{
354+
// Path is assumed to be fully qualified
355+
return filePath;
356+
}
357+
352358
if (filePath.StartsWith("//", StringComparison.OrdinalIgnoreCase))
353359
{
354360
// Path is assumed to be fully qualified

0 commit comments

Comments
 (0)