Browse Source
Handle 'rtl' in embedded file provider path check
pull/23794/head
maliming
4 months ago
No known key found for this signature in database
GPG Key ID: A646B9CB645ECEA4
1 changed files with
1 additions and
1 deletions
-
framework/src/Volo.Abp.VirtualFileSystem/Volo/Abp/VirtualFileSystem/Embedded/AbpEmbeddedFileProvider.cs
|
|
|
@ -130,7 +130,7 @@ public class AbpEmbeddedFileProvider : DictionaryBasedFileProvider |
|
|
|
return resourceName; |
|
|
|
} |
|
|
|
|
|
|
|
if (pathParts.Length >= 4 && pathParts[pathParts.Length - 2] == "min") |
|
|
|
if (pathParts.Length >= 4 && (pathParts[pathParts.Length - 2] == "min" || pathParts[pathParts.Length - 2] == "rtl")) |
|
|
|
{ |
|
|
|
// Fix NET 10 RC 1 Microsoft.Extensions.FileProviders.Embedded issue temporarily
|
|
|
|
//https://github.com/dotnet/aspnetcore/issues/63719
|
|
|
|
|