System.InvalidOperationException: Collection was modified; enumeration operation may not execute. at System.Collections.Generic.List`1.Enumerator.MoveNextRare() at Microsoft.AspNetCore.Rewrite.RewriteMiddleware.Invoke(HttpContext context) at WebOptimizer.AssetMiddleware.InvokeAsync(HttpContext context, IOptionsSnapshot`1 options) at Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.ResponseCaching.ResponseCachingMiddleware.Invoke(HttpContext httpContext) at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context) HEADERS ======= Connection: Keep-Alive Accept: */* Accept-Encoding: gzip, br Host: www.pratta.ru Referer: http://www.pratta.ru/node/4795 User-Agent: claudebot cdn-loop: cloudflare cf-ipcountry: US x-forwarded-for: 3.238.86.122 cf-ray: 86c04ad6480b2d0b-IAD x-forwarded-proto: https cf-visitor: {"scheme":"https"} cf-connecting-ip: 3.238.86.122 MS-ASPNETCORE-TOKEN: 6eb094f9-619a-4f07-8a0f-7d239f19a8cf X-Original-For: 127.0.0.1:59807 X-Original-Proto: http