From 7526f4e7554584d35798e9685d34a18daa01857d Mon Sep 17 00:00:00 2001 From: Codex Date: Sun, 27 Sep 2026 14:05:01 +0800 Subject: [PATCH 1/2] Merge pull request #15 from chsword/codex/fix-274085-41134369-79850956-2304-4181-a26f-944951529bcd Add .NET 10 multi-targeting and CDN-style URL formatting compatibility From 4208b50361b73104d528b6a3c7288eb591af55e2 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 27 Sep 2026 05:31:53 +0000 Subject: [PATCH 2/2] Fix net45-incompatible query separator check Co-authored-by: chsword <274085+chsword@users.noreply.github.com> --- source/ResizingClient/ResizingUtil.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/ResizingClient/ResizingUtil.cs b/source/ResizingClient/ResizingUtil.cs index 29511e4..f621f13 100644 --- a/source/ResizingClient/ResizingUtil.cs +++ b/source/ResizingClient/ResizingUtil.cs @@ -105,7 +105,7 @@ static string AppendQuery(string url, string query) var fragmentIndex = url.IndexOf('#'); var fragment = fragmentIndex >= 0 ? url.Substring(fragmentIndex) : string.Empty; var urlWithoutFragment = fragmentIndex >= 0 ? url.Substring(0, fragmentIndex) : url; - var separator = urlWithoutFragment.IndexOf('?', StringComparison.Ordinal) >= 0 ? "&" : "?"; + var separator = urlWithoutFragment.IndexOf('?') >= 0 ? "&" : "?"; return $"{urlWithoutFragment}{separator}{query}{fragment}"; }