Skip to content

Commit fe8e272

Browse files
Merge pull request #23818 from abpframework/AbpEmbeddedFileProvider-patch
Normalize 'client_proxies' to 'client-proxies' in file paths
2 parents 5ab9899 + 927caed commit fe8e272

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

framework/src/Volo.Abp.VirtualFileSystem/Volo/Abp/VirtualFileSystem/Embedded/AbpEmbeddedFileProvider.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ public void AddFiles(Dictionary<string, IFileInfo> files)
4747

4848
var fullPath = ConvertToRelativePath(resourcePath).EnsureStartsWith('/');
4949

50+
fullPath = fullPath.Replace("client_proxies", "client-proxies");
51+
5052
if (fullPath.Contains("/"))
5153
{
5254
AddDirectoriesRecursively(files, fullPath.Substring(0, fullPath.LastIndexOf('/')), lastModificationTime);

0 commit comments

Comments
 (0)