Closed
Description
I've written a custom IFileProvider
that does in-line replacements of file contents based on the incoming request. This worked back in .NET Core 2.2, but has since broken due to #12328.
The offending lines are below.
aspnetcore/src/Http/Http/src/SendFileFallback.cs
Lines 30 to 39 in 62e157b
Is there a new suggested approach if I need to send a modified or different file from a custom IFileProvider
? Also, is it stricly necessary to have this check at all?