-
-
Notifications
You must be signed in to change notification settings - Fork 104
Closed
Labels
Description
Prerequisites
- I have written a descriptive issue title
- I have verified that I am running the latest version of ImageSharp.Web
- I have verified if the problem exist in both
DEBUGandRELEASEmode - I have searched open and closed issues to ensure it has not already been reported
ImageSharp.Web version
2.0.0+
Other Six Labors packages and versions
n/a
Environment (Operating system, version and so on)
Linux Mint 20.3
.NET Framework version
6.0.301
Description
In 1.0.5, this url: http://localhost:6123/aśdẁ.jpeg?width=100 resizes the image specified as expected. In 2.0.0 and 2.0.1 the same url doesn't resize the image and yields a debug message The image 'http://localhost:6123/aśdẁ.jpeg?width=100' could not be resolved. This is true for other non-ascii characters such as "åäö".
The options for legacy behavior detailed here (https://docs.sixlabors.com/articles/imagesharp.web/gettingstarted.html) with the LegacyV1CacheKey doesn't fix it.
Steps to Reproduce
- Create a new .net6 asp.net core web application and install ImageSharp.Web 2.0.0 (or 2.0.1).
- Add
builder.Services.AddImageSharp()andapp.UseImageSharp();to the Program.cs file. - Place an image named aśdẁ.jpg in the wwwroot folder and try accessing it from the browser with a ?width=600 query parameter.
Images
No response
DanielToxic and JimBobSquarePants