File tree Expand file tree Collapse file tree 2 files changed +6
-8
lines changed
ImageWizard.Core/Middlewares Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change 2828 <ItemGroup >
2929 <PackageReference Include =" Microsoft.SourceLink.GitHub" Version =" 1.0.0" PrivateAssets =" All" />
3030 </ItemGroup >
31-
31+
3232 <ItemGroup >
3333 <FrameworkReference Include =" Microsoft.AspNetCore.App" />
3434 </ItemGroup >
35-
36- <ItemGroup >
37- <ProjectReference Include =" ..\ImageWizard.Core\ImageWizard.Core.csproj" />
35+ <ItemGroup >
3836 <ProjectReference Include =" ..\ImageWizard.Utils\ImageWizard.Utils.csproj" />
3937 </ItemGroup >
4038
Original file line number Diff line number Diff line change @@ -110,10 +110,10 @@ public async Task InvokeAsync(HttpContext context)
110110 string url_path = match . Groups [ "path" ] . Value ;
111111 string url_loaderSource = match . Groups [ "loaderSource" ] . Value ;
112112 string url_loaderType = match . Groups [ "loaderType" ] . Value ;
113- IList < string > url_filters = match . Groups [ "filter" ] . Captures . OfType < Capture > ( )
114- . Select ( x => x . Value )
115- . Select ( x => x [ 0 ..^ 1 ] ) //remove "/"
116- . ToList ( ) ;
113+ IList < string > url_filters = match . Groups [ "filter" ] . Captures
114+ . Select ( x => x . Value )
115+ . Select ( x => x [ 0 ..^ 1 ] ) //remove "/"
116+ . ToList ( ) ;
117117
118118 //unsafe url?
119119 if ( Options . AllowUnsafeUrl && url_signature == "unsafe" )
You can’t perform that action at this time.
0 commit comments